src/ell/LandscapeTopology.cc
Go to the documentation of this file.00001 00002 #include "ell/LandscapeTopology.hh" 00003 00004 00005 namespace ell { 00006 00007 const size_t LandscapeTopology::INVALID_INDEX = UINT_MAX; 00008 00009 bool 00010 LandscapeTopology::isSmaller_E_S(const State* a, const State* b) { 00011 return (a->getEnergy() != b->getEnergy()) ? 00012 (a->getEnergy() < b->getEnergy()) : 00013 (a->toString() < b->toString()); 00014 } 00015 00016 LandscapeTopology::~LandscapeTopology() 00017 {} 00018 00019 00020 00021 } // namespace ell 00022