:- module(descendent_generator, []). :- use_module(descendent_match). :- use_module(generator_snd_input). :- public amalgame_module/1. :- public matcher/4. :- public parameter/4. amalgame_module(amalgame:'DescendentMatcher'). parameter(steps, integer, 1, 'depth of search, defaults to 1, e.g. direct children only'). %% matcher(+Source, +Target, -Mappings, +Options) % % Mappings is a list of matches between instances of Source and % Target. matcher(Source, Target, Mappings, Options) :- generator_snd_input(descendent_match, Source, Target, Mappings, Options).