Skip to content

Commit

Permalink
don't compile the suspicious InstancesIterator and GeneralizationsIte…
Browse files Browse the repository at this point in the history
…rator in SubstitutionTree
  • Loading branch information
Martin Suda committed Oct 4, 2017
1 parent d695c7f commit 1764abf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Indexing/LiteralSubstitutionTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ SLQueryResultIterator LiteralSubstitutionTree::getInstances(Literal* lit,
// return getResultIterator<InstancesIterator>(lit, complementary, true);

if(retrieveSubstitutions) {
#if VDEBUG
NOT_IMPLEMENTED;
#endif
/*
return getResultIterator<InstancesIterator>(lit, complementary, true, false);
*/
}

SLQueryResultIterator res=
Expand Down
5 changes: 4 additions & 1 deletion Indexing/SubstitutionTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -996,6 +996,7 @@ SubstitutionTree::NodeIterator
}
}

/*
bool SubstitutionTree::GeneralizationsIterator::associate(TermList query, TermList node)
{
CALL("SubstitutionTree::GeneralizationsIterator::associate");
Expand All @@ -1021,8 +1022,9 @@ SubstitutionTree::NodeIterator
}
}
}
*/


/*
bool SubstitutionTree::InstancesIterator::associate(TermList query, TermList node)
{
CALL("SubstitutionTree::InstancesIterator::associate");
Expand All @@ -1047,4 +1049,5 @@ SubstitutionTree::NodeIterator
}
}
}
*/

6 changes: 4 additions & 2 deletions Indexing/SubstitutionTree.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ class SubstitutionTree
Stack<UnificationConstraint> constraints;
};


/*
class GeneralizationsIterator
: public UnificationsIterator
{
Expand All @@ -799,7 +799,8 @@ class SubstitutionTree
virtual bool associate(TermList query, TermList node);
virtual NodeIterator getNodeIterator(IntermediateNode* n);
};

*/
/*
class InstancesIterator
: public UnificationsIterator
{
Expand All @@ -810,6 +811,7 @@ class SubstitutionTree
virtual bool associate(TermList query, TermList node);
virtual NodeIterator getNodeIterator(IntermediateNode* n);
};
*/

#if VDEBUG
public:
Expand Down

0 comments on commit 1764abf

Please sign in to comment.