de.cesr.lara.houseplant
Class AgentInitialData
java.lang.Object
de.cesr.lara.houseplant.AgentInitialData
public class AgentInitialData
- extends Object
The agents initial data. This is a wrapper for the data that will be read from csv-file
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AgentInitialData
public AgentInitialData(String id,
double importanceHaveNicePlant,
double importanceBeSocial,
String habitation,
List<String> collaboratorIds)
- constructor
- Parameters:
id
- importanceHaveNicePlant
- importanceBeSocial
- habitation
- collaboratorIds
-
getImportanceHaveNicePlant
public double getImportanceHaveNicePlant()
- Returns:
- the agents importance of having a nice plant
getImportanceBeSocial
public double getImportanceBeSocial()
- Returns:
- the agents importance of being social
getId
public String getId()
- Returns:
- the agents id (in real-life: his name)
getHabitation
public String getHabitation()
- Returns:
- the habitation the agent belongs to (in real-life: adress)
getCollaboratorIds
public List<String> getCollaboratorIds()
- Returns:
- a list of ids of his collaborators