de.cesr.lara.houseplant
Class AgentInitialData

java.lang.Object
  extended by 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


Constructor Summary
AgentInitialData(String id, double importanceHaveNicePlant, double importanceBeSocial, String habitation, List<String> collaboratorIds)
          constructor
 
Method Summary
 List<String> getCollaboratorIds()
           
 String getHabitation()
           
 String getId()
           
 double getImportanceBeSocial()
           
 double getImportanceHaveNicePlant()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentInitialData

public AgentInitialData(String id,
                        double importanceHaveNicePlant,
                        double importanceBeSocial,
                        String habitation,
                        List<String> collaboratorIds)
constructor

Parameters:
id -
importanceHaveNicePlant -
importanceBeSocial -
habitation -
collaboratorIds -
Method Detail

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