|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectNPTLab.Trace
public class Trace
Class that saves the traces of a user containing laction, day and duration of the visit
Constructor Summary | |
---|---|
Trace(CoordSetUser csu,
int simulationDays)
Creates a trace for a node based on his Set of locations and the nuber of simulation days |
Method Summary | |
---|---|
java.util.Map<java.lang.Integer,java.lang.Integer> |
returnCombinationMap()
Returns the map with column ad key and id as value |
java.util.Map<java.lang.Integer,java.lang.Integer> |
returnInverseCombinationMap()
Returns the map with idCoord as key and column as value |
cern.colt.matrix.DoubleMatrix2D |
returnTrace()
Returns the Trace for the node |
java.lang.String |
toString()
Method for printing |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Trace(CoordSetUser csu, int simulationDays)
csu
- The CoordSetUser element for the node,simulationDays
- The number os simylation days the node had created thei traces forMethod Detail |
---|
public cern.colt.matrix.DoubleMatrix2D returnTrace()
public java.util.Map<java.lang.Integer,java.lang.Integer> returnCombinationMap()
public java.util.Map<java.lang.Integer,java.lang.Integer> returnInverseCombinationMap()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |