Package org.tweetyproject.math.norm
Class MaximumNorm
java.lang.Object
org.tweetyproject.math.norm.AbstractRealVectorNorm
org.tweetyproject.math.norm.MaximumNorm
- All Implemented Interfaces:
Norm<Vector<Double>>
,RealVectorNorm
The Maximum norm.
- Author:
- Nico Potyka
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
The distance between the two object, i.e.distanceTerm
(Vector<Term> obj1, Vector<Term> obj2) The distance between the two objects as a term.double
Returns the norm of the given objectReturns the norm as a term of the given termsMethods inherited from class org.tweetyproject.math.norm.AbstractRealVectorNorm
distanceTerm, normTerm
-
Constructor Details
-
MaximumNorm
public MaximumNorm()Constructor
-
-
Method Details
-
norm
-
distance
-
normTerm
Description copied from interface:RealVectorNorm
Returns the norm as a term of the given terms- Specified by:
normTerm
in interfaceRealVectorNorm
- Specified by:
normTerm
in classAbstractRealVectorNorm
- Parameters:
obj
- some term vector- Returns:
- the term of the norm
-
distanceTerm
Description copied from interface:RealVectorNorm
The distance between the two objects as a term.- Specified by:
distanceTerm
in interfaceRealVectorNorm
- Specified by:
distanceTerm
in classAbstractRealVectorNorm
- Parameters:
obj1
- some termsobj2
- some terms- Returns:
- the distance between the two objects as a term
-