Class AbstractRealVectorNorm
java.lang.Object
org.tweetyproject.math.norm.AbstractRealVectorNorm
- All Implemented Interfaces:
Norm<Vector<Double>>,RealVectorNorm
- Direct Known Subclasses:
ManhattanNorm,MaximumNorm,PNorm
Abstract class for real vector norms.
- Author:
- Matthias Thimm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract TermdistanceTerm(Vector<Term> obj1, Vector<Term> obj2) The distance between the two objects as a term.distanceTerm(Term[] obj1, Term[] obj2) The distance between the two objects as a term.abstract TermReturns the norm as a term of the given termsReturns the norm as a term of the given terms
-
Constructor Details
-
AbstractRealVectorNorm
public AbstractRealVectorNorm()Default
-
-
Method Details
-
normTerm
Description copied from interface:RealVectorNormReturns the norm as a term of the given terms- Specified by:
normTermin interfaceRealVectorNorm- Parameters:
obj- some term vector- Returns:
- the term of the norm
-
normTerm
Description copied from interface:RealVectorNormReturns the norm as a term of the given terms- Specified by:
normTermin interfaceRealVectorNorm- Parameters:
obj- some term array- Returns:
- the term of the norm
-
distanceTerm
Description copied from interface:RealVectorNormThe distance between the two objects as a term.- Specified by:
distanceTermin interfaceRealVectorNorm- Parameters:
obj1- some termsobj2- some terms- Returns:
- the distance between the two objects as a term
-
distanceTerm
Description copied from interface:RealVectorNormThe distance between the two objects as a term.- Specified by:
distanceTermin interfaceRealVectorNorm- Parameters:
obj1- some termsobj2- some terms- Returns:
- the distance between the two objects as a term
-