Interface Equivalence<T>
- Type Parameters:
- T- Describes the type of the objects, for which the equivalence is defined
- All Known Implementing Classes:
- IdentityEquivalence,- SerialisationEquivalence,- SerialisationEquivalenceByGraph,- SerialisationEquivalenceByGraphIso,- SerialisationEquivalenceByGraphNaiv,- SerialisationEquivalenceBySequence,- SerialisationEquivalenceBySequenceNaiv,- SerialisationEquivalenceByTransitionStateSequence,- SerialisationEquivalenceByTransitionStateSequenceNaiv,- StandardEquivalence,- StrongEquivalence
public interface Equivalence<T>
This interface defines methods to analyze the equivalence of two objects.
- Version:
- TweetyProject 1.23
- Author:
- Julian Sander
- 
Method SummaryModifier and TypeMethodDescriptionbooleanisEquivalent(Collection<T> objects) Checks whether the specified objects are equivalent, in a sense that every single object is equivalent to every other object in the setbooleanisEquivalent(T obj1, T obj2) Checks whether the specified objects are equivalent
- 
Method Details- 
isEquivalentChecks whether the specified objects are equivalent- Parameters:
- obj1- an object of the type-parameter
- obj2- an object of the type-parameter
- Returns:
- true if both theories are equivalent
 
- 
isEquivalentChecks whether the specified objects are equivalent, in a sense that every single object is equivalent to every other object in the set- Parameters:
- objects- A collection of objects of the type-parameter
- Returns:
- TRUE iff all objects are equivalent
 
- 
getDescriptionString getDescription()- Returns:
- Description of the definition
 
 
-