PredictorAlgorithm Class Reference

#include <Predictor.h>

Inheritance diagram for PredictorAlgorithm:

ActiveLezi AveragePredictor HMM Predictor SingleStepDurationPredictor List of all members.

Public Member Functions

virtual void addContexts (const membershiplist *contexts, time_t time)=0
virtual void addContext (unsigned long contextId, time_t time)=0
virtual unsigned long getNextContext () const =0
virtual membershiplist getNextContexts () const =0
virtual contexttrajectory getContextTrajectory (unsigned int start, unsigned int end) const =0
virtual unsigned long getContextAt (time_t time) const =0
virtual membershiplist getContextsAt (time_t time) const =0
virtual string serialize () const =0
virtual void unserialize (string data)=0
virtual string toString () const =0

Detailed Description

Predictor Interface

Todo:
documentation


Member Function Documentation

virtual void PredictorAlgorithm::addContext unsigned long  contextId,
time_t  time
[pure virtual]
 

Todo:
documentation

Implemented in ActiveLezi, HMM, Predictor, AveragePredictor, and SingleStepDurationPredictor.

virtual void PredictorAlgorithm::addContexts const membershiplist contexts,
time_t  time
[pure virtual]
 

Todo:
documentation

Implemented in ActiveLezi, HMM, Predictor, AveragePredictor, and SingleStepDurationPredictor.

virtual unsigned long PredictorAlgorithm::getContextAt time_t  time  )  const [pure virtual]
 

Todo:
documentation

Implemented in ActiveLezi, HMM, Predictor, AveragePredictor, and SingleStepDurationPredictor.

virtual membershiplist PredictorAlgorithm::getContextsAt time_t  time  )  const [pure virtual]
 

Todo:
documentation

Implemented in ActiveLezi, HMM, Predictor, AveragePredictor, and SingleStepDurationPredictor.

virtual contexttrajectory PredictorAlgorithm::getContextTrajectory unsigned int  start,
unsigned int  end
const [pure virtual]
 

Todo:
documentation

Implemented in ActiveLezi, HMM, AveragePredictor, and SingleStepDurationPredictor.

virtual unsigned long PredictorAlgorithm::getNextContext  )  const [pure virtual]
 

Todo:
documentation

Implemented in ActiveLezi, HMM, Predictor, AveragePredictor, and SingleStepDurationPredictor.

virtual membershiplist PredictorAlgorithm::getNextContexts  )  const [pure virtual]
 

Todo:
documentation

Implemented in ActiveLezi, HMM, Predictor, AveragePredictor, and SingleStepDurationPredictor.

virtual string PredictorAlgorithm::serialize  )  const [pure virtual]
 

Serialize a predictors data to a string

Returns:
String representation of the predictor data.

Implemented in ActiveLezi, HMM, Predictor, AveragePredictor, and SingleStepDurationPredictor.

virtual string PredictorAlgorithm::toString  )  const [pure virtual]
 

This is only for testing.

Implemented in ActiveLezi, HMM, AveragePredictor, and SingleStepDurationPredictor.

virtual void PredictorAlgorithm::unserialize string  data  )  [pure virtual]
 

Unserialize a predictors data from a string

Parameters:
data String representation of the predictor data.

Implemented in ActiveLezi, HMM, Predictor, AveragePredictor, and SingleStepDurationPredictor.


The documentation for this class was generated from the following file:
Generated on Mon Jun 5 10:20:50 2006 for Intelligence.kdevelop by  doxygen 1.4.6