public class EntropyNorm<T extends Comparable<T>> extends EntropyFunction implements RealVectorNorm
| Constructor and Description |
|---|
EntropyNorm() |
| Modifier and Type | Method and Description |
|---|---|
double |
distance(ProbabilityFunction<T> prob1,
ProbabilityFunction<T> prob2) |
double |
distance(Vector<Double> obj1,
Vector<Double> obj2)
The distance between the two object, i.e.
|
Term |
distanceTerm(Term[] obj1,
Term[] obj2)
The distance between the two objects as a term.
|
Term |
distanceTerm(Vector<Term> obj1,
Vector<Term> obj2)
The distance between the two objects as a term.
|
double |
norm(ProbabilityFunction<T> prob) |
double |
norm(Vector<Double> obj)
Returns the norm of the given object
|
Term |
normTerm(Term[] obj)
Returns the norm as a term of the given terms
|
Term |
normTerm(Vector<Term> obj)
Returns the norm as a term of the given terms
|
eval, getTermpublic double norm(Vector<Double> obj)
Normpublic double norm(ProbabilityFunction<T> prob)
public Term normTerm(Term[] obj)
RealVectorNormnormTerm in interface RealVectorNormobj - some term arraypublic Term distanceTerm(Term[] obj1, Term[] obj2)
RealVectorNormdistanceTerm in interface RealVectorNormobj1 - some termsobj2 - some termspublic double distance(Vector<Double> obj1, Vector<Double> obj2)
Normpublic double distance(ProbabilityFunction<T> prob1, ProbabilityFunction<T> prob2)
public Term normTerm(Vector<Term> obj)
RealVectorNormnormTerm in interface RealVectorNormobj - some term vectorpublic Term distanceTerm(Vector<Term> obj1, Vector<Term> obj2)
RealVectorNormdistanceTerm in interface RealVectorNormobj1 - some termsobj2 - some termsCopyright © 2018. All rights reserved.