| Package | Description |
|---|---|
| net.sf.tweety.math.norm | |
| net.sf.tweety.math.probability |
| Modifier and Type | Method and Description |
|---|---|
double |
EntropyNorm.distance(ProbabilityFunction<T> prob1,
ProbabilityFunction<T> prob2) |
double |
EntropyNorm.distance(ProbabilityFunction<T> prob1,
ProbabilityFunction<T> prob2) |
double |
EntropyNorm.norm(ProbabilityFunction<T> prob) |
| Modifier and Type | Method and Description |
|---|---|
static <S extends Comparable<S>> |
ProbabilityFunction.convexCombination(double[] factors,
ProbabilityFunction<S>[] creators)
Computes the convex combination of the
given probability distributions P1,...,PN with parameters factors, i.e.
|
ProbabilityFunction<T> |
ProbabilityFunction.convexCombination(double d,
ProbabilityFunction<T> other)
Computes the convex combination of this P1 and the
given probability distribution P2 with parameter d, i.e.
|
static <S extends Comparable<S>> |
ProbabilityFunction.getUniformDistribution(Set<S> objects)
Returns the uniform distribution on the given interpretations.
|
ProbabilityFunction<T> |
ProbabilityFunction.linearCombination(double d1,
double d2,
ProbabilityFunction<T> other)
Makes a linear combination of this distribution "p1" and the given distribution "other" and
the given parameters, i.e.
|
| Modifier and Type | Method and Description |
|---|---|
static <S extends Comparable<S>> |
ProbabilityFunction.convexCombination(double[] factors,
ProbabilityFunction<S>[] creators)
Computes the convex combination of the
given probability distributions P1,...,PN with parameters factors, i.e.
|
ProbabilityFunction<T> |
ProbabilityFunction.convexCombination(double d,
ProbabilityFunction<T> other)
Computes the convex combination of this P1 and the
given probability distribution P2 with parameter d, i.e.
|
ProbabilityFunction<T> |
ProbabilityFunction.linearCombination(double d1,
double d2,
ProbabilityFunction<T> other)
Makes a linear combination of this distribution "p1" and the given distribution "other" and
the given parameters, i.e.
|
| Constructor and Description |
|---|
ProbabilityFunction(ProbabilityFunction<T> other)
Creates a new probability function by copying the given one.
|
Copyright © 2018. All rights reserved.