22 #ifndef _SGEDGEPOLICY_HPP
23 #define _SGEDGEPOLICY_HPP
25 #include "sgproductpolicy.hpp"
54 const vector<SGPolicySet::const_iterator> &
getPolicies()
const
73 std::string
hash()
const;
const SGPolicySet::const_iterator & getSubPolicy() const
Returns the current substitution.
Definition: sgedgepolicy.hpp:58
bool operator++()
Increment the edge by either advancing the substitution or the base policy.
Definition: sgedgepolicy.cpp:95
Class for storing product policies.
Definition: sgproductpolicy.hpp:39
bool incrementBasePolicy()
Increments the base policy.
Definition: sgedgepolicy.cpp:49
int subState
Definition: sgedgepolicy.hpp:47
vector< SGPolicySet::const_iterator > policies
Definition: sgedgepolicy.hpp:39
const int getSubState() const
Returns the substitution state.
Definition: sgedgepolicy.hpp:69
int baseState
Definition: sgedgepolicy.hpp:44
std::string hash() const
Generates a unique identifier for the edge.
Definition: sgedgepolicy.cpp:100
const SGProductPolicy & master
Definition: sgedgepolicy.hpp:37
bool incrementSubPolicy()
Increments the substitution.
Definition: sgedgepolicy.cpp:78
SGPolicySet::const_iterator subPolicy
Definition: sgedgepolicy.hpp:43
Class for iterating edges of a product policy.
Definition: sgedgepolicy.hpp:35
const int getBaseState() const
Returns the base state.
Definition: sgedgepolicy.hpp:66
SGEdgePolicy(const SGProductPolicy &_master)
Constructor.
Definition: sgedgepolicy.cpp:25
const vector< SGPolicySet::const_iterator > & getPolicies() const
Returns the current policy, as a vector of iterators.
Definition: sgedgepolicy.hpp:54