public class Homomorphism extends Object implements Serializable
Constructor and Description |
---|
Homomorphism(Signature src,
Signature tgt) |
public void add(int label, Tree<HomomorphismSymbol> mapping)
public Tree<HomomorphismSymbol> get(int label)
label
- public Tree<HomomorphismSymbol> getByLabelSetID(int labelSetID)
public IntSet getLabelSetByLabelSetID(int labelSetID)
public int getLabelSetIDByLabelSet(IntSet labelSet)
public int getTermID(int label)
@Deprecated public int getLabelSetID(int label)
getTermID(int)
instead.label
- public IntSet getLabelSetForLabel(int label)
public int getMaxLabelSetID()
public Tree<String> get(String label)
label
- public IntCollection getLabelsetIDsForTgtSymbols(IntSet tgtSymbols)
public String toStringCondensed()
public String rhsAsString(Tree<HomomorphismSymbol> t)
public Signature getSourceSignature()
public Signature getTargetSignature()
public boolean isNonDeleting()
public SignatureMapper getSignatureMapper()
SignatureMapper.recompute()
to update the mapper.public HomomorphismSymbol c(String constant)
public HomomorphismSymbol c(String constant, int arity)
public HomomorphismSymbol v(String variable)
Copyright © 2017. All rights reserved.