Class WeightedSemiring

java.lang.Object
org.tweetyproject.math.algebra.Semiring<Double>
org.tweetyproject.math.algebra.WeightedSemiring

public class WeightedSemiring extends Semiring<Double>
This class represents a Weighted Semiring, where elements are interpreted as weights or costs. In this semiring, the multiplication operation corresponds to finding the minimum of two weights, the addition operation corresponds to adding weights, Double.POSITIVE_INFINITY represents the additive identity, and 0.0 represents the multiplicative identity.
Author:
Sandra Hoffmann