public class AssignmentByRandMatrix extends Assignment
agents, agentSeenBy, agentSees, difficulty
Constructor and Description |
---|
AssignmentByRandMatrix(java.util.AbstractList<Agent> agents,
double viewFraction,
double difficulty)
Constructor generates the visibility relations
|
getDifficulty, getSpectated, getSpectators, introduceAssignment, nrOfAgents
public AssignmentByRandMatrix(java.util.AbstractList<Agent> agents, double viewFraction, double difficulty)
agents
- a list of all agents to participate in the assignmentviewFraction
- the probability of one viewed seeing anotherdifficulty
- a number in [0...1), the higher the harder the
assignment