lcanals.tc.core
Class ManualEstimator

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

public class ManualEstimator
extends java.lang.Object
implements Estimator, java.io.Serializable

Estimator which only considers the information given explicitly by the user

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

Inner Class Summary
 class ManualEstimator.Information
          Class for internal state access
 
Constructor Summary
ManualEstimator(float performance, float timeDifficulty, float percentRisk)
          Builds an estimator for the given user data
 
Method Summary
 Estimation estimateOnlineTask(PlanTask task)
          The same as estimateTask but updating user data if task is finished
 Estimation estimateTask(Task task)
          Calculates a forecast estimation for the given task
 EstimatorInformation getInternalInformation()
          Returns a specific object with internal information about the estimator
 java.lang.String getType()
          Says the name of this type of Estimator
 void learnTask(PlanTask planTask)
          Learns from the given ended task
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManualEstimator

public ManualEstimator(float performance,
                       float timeDifficulty,
                       float percentRisk)
Builds an estimator for the given user data
Method Detail

estimateOnlineTask

public Estimation estimateOnlineTask(PlanTask task)
The same as estimateTask but updating user data if task is finished
Specified by:
estimateOnlineTask in interface Estimator

estimateTask

public Estimation estimateTask(Task task)
Description copied from interface: Estimator
Calculates a forecast estimation for the given task
Specified by:
estimateTask in interface Estimator

learnTask

public void learnTask(PlanTask planTask)
Description copied from interface: Estimator
Learns from the given ended task
Specified by:
learnTask in interface Estimator

getType

public java.lang.String getType()
Description copied from interface: Estimator
Says the name of this type of Estimator
Specified by:
getType in interface Estimator

getInternalInformation

public EstimatorInformation getInternalInformation()
Description copied from interface: Estimator
Returns a specific object with internal information about the estimator
Specified by:
getInternalInformation in interface Estimator


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