File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ namespace ratio
3232
3333 class resolver
3434 {
35+ friend class basic_solver ;
36+
3537 public:
3638 resolver (flaw &flw, utils::rational &&intrinsic_cost) noexcept ;
3739 resolver (const resolver &) = delete ;
@@ -41,8 +43,10 @@ namespace ratio
4143 virtual void apply () = 0;
4244
4345 protected:
44- flaw &flw; // The flaw this resolver addresses..
45- utils::rational intrinsic_cost; // The intrinsic cost of applying this resolver..
46+ flaw &flw; // The flaw this resolver addresses..
47+ utils::rational intrinsic_cost; // The intrinsic cost of applying this resolver..
48+ linspire::constraint cnst; // The constraint associated with this resolver..
49+ std::vector<std::reference_wrapper<arc_consistency::constraint>> ac_cnsts; // The arc consistency constraints associated with this resolver..
4650 };
4751
4852 class basic_solver : public solver_core
You can’t perform that action at this time.
0 commit comments