Package org.tweetyproject.math.norm
Interface RealVectorNorm
- All Known Implementing Classes:
AbstractRealVectorNorm
,AggregatingNorm
,EntropyNorm
,ManhattanNorm
,MaximumNorm
,PNorm
,ProbabilisticAggregatingNorm
,ProbabilisticPNorm
A norm for real vector spaces.
- Author:
- Matthias Thimm
-
Method Summary
Modifier and TypeMethodDescriptiondistanceTerm
(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.Returns the norm as a term of the given termsReturns the norm as a term of the given terms
-
Method Details
-
normTerm
Returns the norm as a term of the given terms- Parameters:
obj
- some term vector- Returns:
- the term of the norm
-
normTerm
Returns the norm as a term of the given terms- Parameters:
obj
- some term array- Returns:
- the term of the norm
-
distanceTerm
The distance between the two objects as a term.- Parameters:
obj1
- some termsobj2
- some terms- Returns:
- the distance between the two objects as a term
-
distanceTerm
The distance between the two objects as a term.- Parameters:
obj1
- some termsobj2
- some terms- Returns:
- the distance between the two objects as a term
-