added a method to get the value of a dual fitness
This commit is contained in:
parent
3d4d73a622
commit
6912ea41b6
1 changed files with 5 additions and 0 deletions
|
|
@ -108,6 +108,11 @@ public:
|
||||||
return _is_feasible;
|
return _is_feasible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline BaseType value() const
|
||||||
|
{
|
||||||
|
return _value;
|
||||||
|
}
|
||||||
|
|
||||||
//! Copy operator from a std::pair
|
//! Copy operator from a std::pair
|
||||||
eoDualFitness& operator=(const std::pair<BaseType,bool>& v)
|
eoDualFitness& operator=(const std::pair<BaseType,bool>& v)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Reference in a new issue