diff options
Diffstat (limited to 'kmines/solver/advFastRules.cpp')
-rw-r--r-- | kmines/solver/advFastRules.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kmines/solver/advFastRules.cpp b/kmines/solver/advFastRules.cpp index 56b97b72..79c42bba 100644 --- a/kmines/solver/advFastRules.cpp +++ b/kmines/solver/advFastRules.cpp @@ -159,9 +159,9 @@ void AdviseFast::RuleSet::addGeneral(Coord p){ int AdviseFast::Rule::leaks = 0; #endif -AdviseFast::Rule::Rule(RuleSet *tqparent) : - _parent(tqparent), - _facts(tqparent->facts) +AdviseFast::Rule::Rule(RuleSet *parent) : + _parent(parent), + _facts(parent->facts) { #if defined(DEBUG) && DEBUG >= 2 cout << "Rule::Rule, leaks = " << ++leaks << endl; @@ -177,8 +177,8 @@ AdviseFast::Rule::~Rule() AdviseFast::GeneralRule::GeneralRule( Coord fact, - RuleSet *tqparent) : - Rule(tqparent), + RuleSet *parent) : + Rule(parent), _fact(fact) {} @@ -242,8 +242,8 @@ bool AdviseFast::GeneralRule::apply(CoordSet *) AdviseFast::EmptyRule::EmptyRule( Coord fact, - RuleSet *tqparent) : - Rule(tqparent), + RuleSet *parent) : + Rule(parent), _fact(fact) {} @@ -285,8 +285,8 @@ bool AdviseFast::EmptyRule::apply( AdviseFast::FullRule::FullRule( Coord fact, - RuleSet *tqparent) : - Rule(tqparent), + RuleSet *parent) : + Rule(parent), _fact(fact) {} @@ -336,8 +336,8 @@ bool AdviseFast::FullRule::apply( AdviseFast::InclusionRule::InclusionRule( Coord bigger, Coord smaller, - RuleSet *tqparent) : - Rule(tqparent), + RuleSet *parent) : + Rule(parent), _bigger(bigger), _smaller(smaller) {} @@ -402,8 +402,8 @@ bool AdviseFast::InclusionRule::apply( AdviseFast::IntersectionRule::IntersectionRule( Coord bigger, Coord smaller, - RuleSet *tqparent) : - Rule(tqparent), + RuleSet *parent) : + Rule(parent), _bigger(bigger), _smaller(smaller) {} |