Class Congress

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--Congress

public class Congress
extends java.util.Vector

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.

See Also:
Serialized Form

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

statusQuo

public int[] statusQuo

newPolicy

public int[] newPolicy

proposedBills

public int[] proposedBills

proposedIssues

public int[] proposedIssues

proposedTags

public int[][] proposedTags

numOfBills

public int numOfBills

didItPass

public java.lang.String[] didItPass
Constructor Detail

Congress

public Congress(int policies,
                int positions,
                int numOfBills,
                int tagLength)
Method Detail

ConductBusiness

public void ConductBusiness()

ProposeLegislation

public void ProposeLegislation(int voteNumber)

similarityMatrix

public void similarityMatrix()

ScreenSpew

public void ScreenSpew()