movement
Class ActivenessHandler

java.lang.Object
  extended by movement.ActivenessHandler

public class ActivenessHandler
extends java.lang.Object

Object of this class tell the movement models when a node belonging to a certain group is active and when not.


Field Summary
static java.lang.String ACTIVE_TIMES_S
          Active times -setting id ("activeTimes").
Syntax: start, end
Multiple times can be concatenated by repeating the sequence.
 
Constructor Summary
ActivenessHandler(Settings s)
           
 
Method Summary
 boolean isActive()
          Returns true if node should be active at the moment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTIVE_TIMES_S

public static final java.lang.String ACTIVE_TIMES_S
Active times -setting id ("activeTimes").
Syntax: start, end
Multiple times can be concatenated by repeating the sequence. Time limits should be in order and should not overlap.

See Also:
Constant Field Values
Constructor Detail

ActivenessHandler

public ActivenessHandler(Settings s)
Method Detail

isActive

public boolean isActive()
Returns true if node should be active at the moment

Returns:
true if node should be active at the moment