CluE
1.0
|
Abstract class for partition-based evaluation algorithms. More...
#include <partitionevaluation.h>
Public Member Functions | |
virtual | ~PartitionEvaluation () |
virtual double | partitioncost (std::vector< std::vector< T * > > const &partitioning) const =0 |
Calculates the cost of a given partitioning. More... | |
virtual double | partitioncost (PartitionProvider< T > const &partitioning, unsigned int solutionIndex) const =0 |
virtual double | partitioncost (std::vector< T * > const &partition) const =0 |
Calculates the cost of a given partition. More... | |
virtual double | partitioncost (PartitionProvider< T > const &partitioning, unsigned int solutionIndex, unsigned int partitionIndex) const =0 |
![]() | |
virtual | ~Evaluation () |
Abstract class for partition-based evaluation algorithms.
Evaluation algorithms requiring partitions for calculating the input's cost should derive from this class.
Definition at line 19 of file partitionevaluation.h.
|
inlinevirtual |
Definition at line 22 of file partitionevaluation.h.
|
pure virtual |
Calculates the cost of a given partitioning.
Implemented in CluE::MaxDiamEvaluator< T >, and CluE::CombinedToPartitionEvaluationWrapper< T >.
|
pure virtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Implemented in CluE::MaxDiamEvaluator< T >, and CluE::CombinedToPartitionEvaluationWrapper< T >.
|
pure virtual |
Calculates the cost of a given partition.
Implemented in CluE::MaxDiamEvaluator< T >, and CluE::CombinedToPartitionEvaluationWrapper< T >.
|
pure virtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Implemented in CluE::MaxDiamEvaluator< T >, and CluE::CombinedToPartitionEvaluationWrapper< T >.