lcanals.tc.core
Class FixedEstimator
java.lang.Object
|
+--lcanals.tc.core.FixedEstimator
- All Implemented Interfaces:
- Estimator, java.io.Serializable
- public class FixedEstimator
- extends java.lang.Object
- implements Estimator, java.io.Serializable
Estimator which only considers the information about the user
Particullary, it doesn't use any information about the plan or
current spent of time in the task.
Updates (automatically) user data when a task is finished
- Author:
- www.lfcanals.es.org
- See Also:
- Serialized Form
Constructor Summary |
FixedEstimator(float performance,
float timeDifficulty,
float percentRisk)
Builds an estimator for the given user data |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FixedEstimator
public FixedEstimator(float performance,
float timeDifficulty,
float percentRisk)
- Builds an estimator for the given user data
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