Author(s): Francisco Bueno.
Version: 1.5#118 (2000/4/19, 18:13:43 CEST)
Version of last change: 0.8#19 (1998/12/3, 12:53:16 MET)
vndict):- use_module(library(vndict)).
vndict)
Usage: null_dict(D)
D is an empty dictionary.
Usage: create_dict(Term,Dict)
Dict has names for all variables in Term.
Term is any term.
(basic_props:term/1)
Dict is a dictionary of variable names.
(vndict:varnamedict/1)
Usage: complete_dict(+Dict,+Term,-(NewDict))
NewDict is Dict augmented with the variables of Term not yet in Dict.
Usage: complete_vars_dict(+Dict,+Vars,-(NewDict))
NewDict is Dict augmented with the variables of the list Vars not yet in Dict.
Usage: prune_dict(+Term,+Dict,-(NewDict))
NewDict is Dict reduced to just the variables of Term.
Usage: dict2varnamesl(Dict,VNs)
Dict to VNs.
Dict is a dictionary of variable names.
(vndict:varnamedict/1)
VNs is a list of Name=Var, for a variable Var and its name Name.
(vndict:varnamesl/1)
Usage: varnamesl2dict(VNs,Dict)
VNs to Dict.
VNs is a list of Name=Var, for a variable Var and its name Name.
(vndict:varnamesl/1)
Dict is a dictionary of variable names.
(vndict:varnamedict/1)
find_name(Vars,Names,V,Name)
Given that vars_names_dict(Dict,Vars,Names) holds, it acts as rename(X,Dict), but the name of X is given as Name instead of unified with it.
Usage: rename(Term,Dict)
Term with its name in Dict. If no name is found, a new name is created.
Dict is a dictionary of variable names.
(vndict:varnamedict/1)
Usage: varname(N)
N is term representing a variable name.
Usage: varnamesl(D)
D is a list of Name=Var, for a variable Var and its name Name.
Usage: varnamedict(D)
D is a dictionary of variable names.
Usage: vars_names_dict(Dict,Vars,Names)
Varss is a sorted list of variables, and Names is a list of their names, which correspond in the same order.
Dict is a dictionary of variable names.
(vndict:varnamedict/1)
Vars is a list.
(basic_props:list/1)
Names is a list.
(basic_props:list/1)
Go to the first, previous, next, last section, table of contents.