lcanals.tc.core
Class Estimation

java.lang.Object
  |
  +--lcanals.tc.core.Estimation
All Implemented Interfaces:
java.io.Serializable

public class Estimation
extends java.lang.Object
implements java.io.Serializable

Estimations about a task (duration, maximum duration)

Author:
www.lfcanals.es.org
See Also:
Serialized Form

Constructor Summary
Estimation(long projectTime, long deviation, float performance)
           
 
Method Summary
 long getMaximumProjectTime()
          Returns project_time + deviation
 long getMaximumTotalTime()
          Returns the maximum estimated total time
 long getMinimumProjectTime()
          Returns project_time - deviation (or zero if this value is negative)
 long getMinimumTotalTime()
          Returns the minimum estimated total time
 long getProjectTime()
          Returns the project_time
 long getTotalTime()
          Returns the total estimated time (project_time*performance)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Estimation

public Estimation(long projectTime,
                  long deviation,
                  float performance)
Parameters:
projectTime - milliseconds to complete the task from start to end
deviation - milliseconds of maximum deviation (considering the risk and the projectTime)
performance - relationship between project time and total time
Method Detail

getProjectTime

public long getProjectTime()
Returns the project_time

getMaximumProjectTime

public long getMaximumProjectTime()
Returns project_time + deviation

getMinimumProjectTime

public long getMinimumProjectTime()
Returns project_time - deviation (or zero if this value is negative)

getTotalTime

public long getTotalTime()
Returns the total estimated time (project_time*performance)

getMaximumTotalTime

public long getMaximumTotalTime()
Returns the maximum estimated total time

getMinimumTotalTime

public long getMinimumTotalTime()
Returns the minimum estimated total time


Luis F. Canals. Supported by www.sourceforge.net