Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Match Tree Implementation Added #6

Merged
merged 14 commits into from
Dec 23, 2016
Merged

Conversation

miquelramirez
Copy link
Member

As the title says

gfrances and others added 14 commits September 13, 2016 15:57
 * Gecode 5.0.0 doesn't allow client code to set propagation level directly any more
 * Added check to ExtensionalConstraint::update() to assess whether the extension
   passed as an argument is empty. If so, the method returns false, signaling that
   the CSP is unsolvable (since an empty extensional constraint has no models).
 * ADDED: Option to filter out static atoms when determining the set of goal relevant atoms
 * ADDED: Propagated configuration setting all the way down to where it matters
 * Removed unnecessary check to avoid overwriting paths to sub goals
 * Added ability to print out the arguments used to invoke the planner binary. This
   is quite helpful when one wants to call the planner manually for profiling etc.
 * Now we allocate nodes using an allocator
 * Ported Match Tree data structure from LAPKT "agnostic" backend. See
   class MatchTreeActionManager in files applicability/match_tree.hxx and
   applicability/match_tree.cxx.

 * Added option to planner configuration to select what is the implementation
   of A(s) to use.

 * Converted GroundStateModel::build_manager() into a factory method of sorts
   to instance the implementation of A(s) following the settings in the
   selected planner "default" option set.

 * Added "default" option set with the match tree activated.
return new SmartActionManager(actions, constraints, tuple_idx, analyzer);
}
LPT_INFO( "main", "Successor Generator Strategy: \"Match Tree\"");
return new MatchTreeActionManager( actions, constraints, tuple_idx, analyzer );
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the memory allocated to this object freed somewhere??

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wishful thinking 👎 in action Guillem... I forgot to make it a shared_ptr<>

@gfrances
Copy link
Member

This is related to the discussion in aig-upf/heuristic-via-lookaheads#10

@gfrances gfrances merged commit f9d48e3 into aig-upf:bfws Dec 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants