jopt.js.spi.domain.activity
Class ActDelta

java.lang.Object
  extended byjopt.js.spi.domain.activity.ActDelta

public class ActDelta
extends java.lang.Object

A class to maintain changes to all aspects of an activity; thus, it records changes to startTimes, duration, and endTimes.


Field Summary
 jopt.csp.util.IntIntervalSet duration
           
 jopt.csp.util.IntIntervalSet endTimes
           
 jopt.csp.util.IntIntervalSet startTimes
           
 
Constructor Summary
ActDelta()
          Creates a Act Delta object that simply wraps the three sub sets
 
Method Summary
 void add(ActDelta delta)
          Adds the elements of this delta with another
 boolean isEmpty()
          Checks to see if the delta sets are empty or not
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

startTimes

public jopt.csp.util.IntIntervalSet startTimes

duration

public jopt.csp.util.IntIntervalSet duration

endTimes

public jopt.csp.util.IntIntervalSet endTimes
Constructor Detail

ActDelta

public ActDelta()
Creates a Act Delta object that simply wraps the three sub sets

Method Detail

add

public void add(ActDelta delta)
Adds the elements of this delta with another

Parameters:
delta -

isEmpty

public boolean isEmpty()
Checks to see if the delta sets are empty or not

Returns:
true if all subsets are empty

toString

public java.lang.String toString()