public final class Substitutions extends Object
Modifier and Type | Method and Description |
---|---|
static Substitution |
add(Substitution s1,
Substitution s2) |
static Substitution |
aggregate(Substitution s1,
Substitution s2) |
static Atom |
createImageOf(Atom atom,
Variable var,
Term image)
Create a new Atom which is the image of the specified atom by replacing
the specified term by the specified image.
|
static Substitution |
emptySubstitution() |
static Partition<Term> |
toPartition(Substitution s) |
public static Substitution emptySubstitution()
public static Substitution add(Substitution s1, Substitution s2)
public static Partition<Term> toPartition(Substitution s)
public static Atom createImageOf(Atom atom, Variable var, Term image)
atom
- var
- the variable to replaceimage
- the image of the specified termpublic static Substitution aggregate(Substitution s1, Substitution s2)
Copyright © 2014–2018 GraphIK (INRIA - LIRMM). All rights reserved.