|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.Vector
|
+--Congress
Congress is where the Reps interact and enact legislation for the whole Population at large. For each bill proposed, it is compared to the status quo position, and all Reps vote. Through this voting Reps accumulate a voting record and use this record to adapt the partyTags of other Reps.
| Field Summary | |
java.lang.String[] |
didItPass
|
int[] |
newPolicy
|
int |
numOfBills
|
int[] |
proposedBills
|
int[] |
proposedIssues
|
int[][] |
proposedTags
|
int[] |
statusQuo
|
| Fields inherited from class java.util.Vector |
capacityIncrement,
elementCount,
elementData |
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
Congress(int policies,
int positions,
int numOfBills,
int tagLength)
|
|
| Method Summary | |
void |
ConductBusiness()
|
void |
ProposeLegislation(int voteNumber)
|
void |
ScreenSpew()
|
void |
similarityMatrix()
|
| Methods inherited from class java.util.Vector |
add,
add,
addAll,
addAll,
addElement,
capacity,
clear,
clone,
contains,
containsAll,
copyInto,
elementAt,
elements,
ensureCapacity,
equals,
firstElement,
get,
hashCode,
indexOf,
indexOf,
insertElementAt,
isEmpty,
lastElement,
lastIndexOf,
lastIndexOf,
remove,
remove,
removeAll,
removeAllElements,
removeElement,
removeElementAt,
removeRange,
retainAll,
set,
setElementAt,
setSize,
size,
subList,
toArray,
toArray,
toString,
trimToSize |
| Methods inherited from class java.util.AbstractList |
iterator,
listIterator,
listIterator |
| Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public int[] statusQuo
public int[] newPolicy
public int[] proposedBills
public int[] proposedIssues
public int[][] proposedTags
public int numOfBills
public java.lang.String[] didItPass
| Constructor Detail |
public Congress(int policies,
int positions,
int numOfBills,
int tagLength)
| Method Detail |
public void ConductBusiness()
public void ProposeLegislation(int voteNumber)
public void similarityMatrix()
public void ScreenSpew()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||