addUnit
public void addUnit(unit u)
Adds a Unit-Object to the unitStore-Vector
getFeedback
public String getFeedback()
gives back feedback
getValuation
public int getValuation()
sum all reliabilty values in the unitStore-Vector add one for 100% else reduce one
lastDifficulty
public int lastDifficulty()
difficulty of the last unitObject
- the difficulty level of the last unit object
lastTime
public long lastTime()
time of the last unitObject
- the time in milliseconds of the last unit object
overallReliability
public double overallReliability()
sum all reliabilty values in the unitStore-Vector
- average of all reliabilty-values
overallTime
public long overallTime()
sum the time of of all unit-objects in the unit-vector store
- the time all units needed together in milliseconds
setUserPWD
public void setUserPWD(String user,
String pwd)
set User and PWD
setlocalIP
public void setlocalIP(String localIP)
set localIP