|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectse.liu.ida.critiquer.resources.AgentParameterFactory
public class AgentParameterFactory
This class contains static factory methods for constructing parameters that are part of agents, not activities
Constructor Summary | |
---|---|
AgentParameterFactory()
|
Method Summary | |
---|---|
static void |
createFirstAidParameters(Agent a,
long initialTime,
int initialCapacity)
Creates parameters for taking care of patients, indicating both how many this agent can cater at a time as well as how long it takes to administrate first aid to such a group |
static void |
createRoadBlockTimeParameter(Agent a,
long initialTime)
|
static void |
createSpeedParameter(Agent a,
long initialSpeed)
The speed parameter dictates how long time it will take to dispatch units as well as to go between locations later. |
static void |
createTransportParameter(Agent a,
int initialCapacity)
Creates a parameter that describes the transportation capacity of the agent. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AgentParameterFactory()
Method Detail |
---|
public static void createSpeedParameter(Agent a, long initialSpeed)
public static void createFirstAidParameters(Agent a, long initialTime, int initialCapacity)
Creates parameters for taking care of patients, indicating both how many this agent can cater at a time as well as how long it takes to administrate first aid to such a group
public static void createTransportParameter(Agent a, int initialCapacity)
public static void createRoadBlockTimeParameter(Agent a, long initialTime)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |