18#include "rxdock/geneticprogram/GPTypes.h"
35 : evaluated(c.evaluated), constant(c.constant), name(c.name),
44 evaluated = c.evaluated;
45 constant = c.constant;
51 bool Evaluated()
const {
return evaluated; }
52 bool Named()
const {
return (name !=
""); }
53 bool Constant()
const {
return constant; }
60 ReturnType GetResult()
const {
return result; }
61 std::string GetName()
const {
return name; }
62 void SetName(std::string s) { name = s; }
63 void SetResult(ReturnType r) {
67 void SetConstant(ReturnType r) {
71 name = std::to_string(r);
73 void ResetConstant() {
79 LOG_F(WARNING,
"Cell::ResetConstant: no constant");
83 bool evaluated, constant;
91typedef std::vector<CellPtr> CellList;
92typedef CellList::iterator CellListIter;
93typedef CellList::const_iterator CellListConstIter;
Definition SmartPointer.h:48