net.sourceforge.jabm.gametheory
Class CompressedPayoffMatrix.Entry

java.lang.Object
  extended by net.sourceforge.jabm.gametheory.CompressedPayoffMatrix.Entry
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Enclosing class:
CompressedPayoffMatrix

public static class CompressedPayoffMatrix.Entry
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

See Also:
Serialized Form
 

Field Summary
protected  int[] numAgentsPerStrategy
           
 
Constructor Summary
CompressedPayoffMatrix.Entry(int[] numAgentsPerStrategy)
           
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object other)
           
 int getNumAgents(int strategy)
           
 int hashCode()
           
 long permutations()
           
 CompressedPayoffMatrix.Entry removeSingleAgent(int strategy)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

numAgentsPerStrategy

protected int[] numAgentsPerStrategy
Constructor Detail

CompressedPayoffMatrix.Entry

public CompressedPayoffMatrix.Entry(int[] numAgentsPerStrategy)
Method Detail

getNumAgents

public int getNumAgents(int strategy)

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException

removeSingleAgent

public CompressedPayoffMatrix.Entry removeSingleAgent(int strategy)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

permutations

public long permutations()

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object