Go to the documentation of this file.
27 #include <MemoryX/interface/memorytypes/PredictionEntities.h>
32 class PredictionEntity;
36 virtual public memoryx::PredictionEntityBase,
41 PredictionEntity(
const EntityRefBasePtr& memorySnapshotRef,
const EntityRefBasePtr& sourceMemorySnapshotRef,
const EntityRefBasePtr& predictedMemorySnapshotRef,
const EntityRefBaseList& predictedMemorySnapshotRefList,
const std::string& predictionMethodName,
Ice::Int taskCount,
Ice::Float predictionScore);
75 void setPredictionMethodName(
const std::string& predictionMethodName,
const Ice::Current&
c = Ice::emptyCurrent)
override;
96 friend std::ostream&
operator<<(std::ostream& stream,
const PredictionEntityBasePtr& rhs)
98 stream << PredictionEntityPtr::dynamicCast(rhs);
102 void output(std::ostream& stream)
const;
104 static const std::string SNAPSHOT_ATTRIBUTE;
105 static const std::string SOURCE_SNAPSHOT_ATTRIBUTE;
106 static const std::string PREDICTION_ATTRIBUTE;
107 static const std::string PREDICTION_LIST_ATTRIBUTE;
108 static const std::string PREDICTION_METHOD_NAME_ATTRIBUTE;
109 static const std::string TASK_COUNT_ATTRIBUTE;
110 static const std::string PREDICTION_SCORE_ATTRIBUTE;
std::string getPredictionMethodName(const Ice::Current &c=Ice::emptyCurrent) const override
const VariantTypeId Float
void initializeAttributes()
Ice::ObjectPtr ice_clone() const override
void setProfilerMemorySnapshotRef(const EntityRefBasePtr &memorySnapshotRef, const Ice::Current &c=Ice::emptyCurrent) override
friend std::ostream & operator<<(std::ostream &stream, const PredictionEntityPtr &rhs)
void setSourceProfilerMemorySnapshotRef(const EntityRefBasePtr &sourceMemorySnapshotRef, const Ice::Current &c=Ice::emptyCurrent) override
friend std::ostream & operator<<(std::ostream &stream, const PredictionEntity &rhs)
EntityRefBaseList getPredictedProfilerMemorySnapshotRefList(const Ice::Current &c=Ice::emptyCurrent) const override
PredictionEntityPtr clone(const Ice::Current &c=Ice::emptyCurrent) const
~PredictionEntity() override
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
void setPredictedProfilerMemorySnapshotRefList(const EntityRefBaseList &predictedMemorySnapshotRefList, const Ice::Current &c=Ice::emptyCurrent) override
Vertex source(const detail::edge_base< Directed, Vertex > &e, const PCG &)
void setTaskCount(Ice::Int taskCount, const Ice::Current &c=Ice::emptyCurrent) override
friend std::ostream & operator<<(std::ostream &stream, const PredictionEntityBasePtr &rhs)
EntityRefBasePtr getProfilerMemorySnapshotRef(const Ice::Current &c=Ice::emptyCurrent) const override
getProfilerMemorySnapshotRef situation (memory snapshot) that actually occured (may differ from pedic...
Ice::Float getPredictionScore(const Ice::Current &c=Ice::emptyCurrent) const override
void setPredictionScore(Ice::Float predictionScore, const Ice::Current &c=Ice::emptyCurrent) override
EntityRefBasePtr getPredictedProfilerMemorySnapshotRef(const Ice::Current &c=Ice::emptyCurrent) const override
getPredictedProfilerMemorySnapshotRef situation (memory snapshot) which was predicted on the basis of...
std::shared_ptr< Object > ObjectPtr
void setPredictionMethodName(const std::string &predictionMethodName, const Ice::Current &c=Ice::emptyCurrent) override
void setPredictedProfilerMemorySnapshotRef(const EntityRefBasePtr &predictedMemorySnapshotRef, const Ice::Current &c=Ice::emptyCurrent) override