28#include <MemoryX/interface/memorytypes/PredictionEntities.h>
36 virtual public memoryx::PredictionEntityBase,
42 const EntityRefBasePtr& sourceMemorySnapshotRef,
43 const EntityRefBasePtr& predictedMemorySnapshotRef,
44 const EntityRefBaseList& predictedMemorySnapshotRefList,
45 const std::string& predictionMethodName,
47 Ice::Float predictionScore);
55 Ice::ObjectPtr
ice_clone()
const override;
65 const Ice::Current&
c = Ice::emptyCurrent)
override;
71 const Ice::Current&
c = Ice::emptyCurrent)
const override;
73 const Ice::Current&
c = Ice::emptyCurrent)
override;
79 const Ice::Current&
c = Ice::emptyCurrent)
const override;
82 const Ice::Current&
c = Ice::emptyCurrent)
override;
85 const Ice::Current&
c = Ice::emptyCurrent)
const override;
87 const EntityRefBaseList& predictedMemorySnapshotRefList,
88 const Ice::Current&
c = Ice::emptyCurrent)
override;
93 const Ice::Current&
c = Ice::emptyCurrent)
override;
95 Ice::Int
getTaskCount(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
96 void setTaskCount(Ice::Int taskCount,
const Ice::Current&
c = Ice::emptyCurrent)
override;
100 const Ice::Current&
c = Ice::emptyCurrent)
override;
118 operator<<(std::ostream& stream,
const PredictionEntityBasePtr& rhs)
120 stream << PredictionEntityPtr::dynamicCast(rhs);
125 void output(std::ostream& stream)
const;
127 static const std::string SNAPSHOT_ATTRIBUTE;
128 static const std::string SOURCE_SNAPSHOT_ATTRIBUTE;
129 static const std::string PREDICTION_ATTRIBUTE;
130 static const std::string PREDICTION_LIST_ATTRIBUTE;
131 static const std::string PREDICTION_METHOD_NAME_ATTRIBUTE;
132 static const std::string TASK_COUNT_ATTRIBUTE;
133 static const std::string PREDICTION_SCORE_ATTRIBUTE;
Entity is the superclass for all MemoryX memory chunks.
void initializeAttributes()
Ice::Int getTaskCount(const Ice::Current &c=Ice::emptyCurrent) const override
EntityRefBasePtr getSourceProfilerMemorySnapshotRef(const Ice::Current &c=Ice::emptyCurrent) const override
getSourceProfilerMemorySnapshotRef situation (memory snapshot) before the prediction
EntityRefBasePtr getPredictedProfilerMemorySnapshotRef(const Ice::Current &c=Ice::emptyCurrent) const override
getPredictedProfilerMemorySnapshotRef situation (memory snapshot) which was predicted on the basis of...
void setPredictionMethodName(const std::string &predictionMethodName, const Ice::Current &c=Ice::emptyCurrent) override
void setTaskCount(Ice::Int taskCount, const Ice::Current &c=Ice::emptyCurrent) override
void setPredictedProfilerMemorySnapshotRef(const EntityRefBasePtr &predictedMemorySnapshotRef, const Ice::Current &c=Ice::emptyCurrent) override
EntityRefBasePtr getProfilerMemorySnapshotRef(const Ice::Current &c=Ice::emptyCurrent) const override
getProfilerMemorySnapshotRef situation (memory snapshot) that actually occured (may differ from pedic...
void setPredictedProfilerMemorySnapshotRefList(const EntityRefBaseList &predictedMemorySnapshotRefList, const Ice::Current &c=Ice::emptyCurrent) override
void setPredictionScore(Ice::Float predictionScore, const Ice::Current &c=Ice::emptyCurrent) override
EntityRefBaseList getPredictedProfilerMemorySnapshotRefList(const Ice::Current &c=Ice::emptyCurrent) const override
~PredictionEntity() override
PredictionEntityPtr clone(const Ice::Current &c=Ice::emptyCurrent) const
Ice::ObjectPtr ice_clone() const override
std::string getPredictionMethodName(const Ice::Current &c=Ice::emptyCurrent) const override
void setProfilerMemorySnapshotRef(const EntityRefBasePtr &memorySnapshotRef, const Ice::Current &c=Ice::emptyCurrent) override
friend std::ostream & operator<<(std::ostream &stream, const PredictionEntity &rhs)
void setSourceProfilerMemorySnapshotRef(const EntityRefBasePtr &sourceMemorySnapshotRef, const Ice::Current &c=Ice::emptyCurrent) override
Ice::Float getPredictionScore(const Ice::Current &c=Ice::emptyCurrent) const override
IceInternal::Handle< PredictionEntity > PredictionEntityPtr