nenok.va.sr
Interface Semiring

All Superinterfaces:
Serializable
All Known Subinterfaces:
ICSemiring, Optimization, SeparativeSemiring

public interface Semiring
extends Serializable

This interface represents the most basic component in the realization of semiring induced valuation algebras. Namely, these are abstracts elments of a semiring, described by their two fundamental operations of addition and multiplication.

Version:
$LastChangedRevision: 560 $
$LastChangedDate: 2008-03-26 14:37:05 +0100 (Mi, 26 Mrz 2008) $
Author:
Marc Pouly

Method Summary
 Semiring add(Semiring semiring)
          This method computes the addition of two semiring elements.
 Semiring multiply(Semiring semiring)
          This method computes the multiplication of two semiring elements.
 

Method Detail

add

Semiring add(Semiring semiring)
This method computes the addition of two semiring elements.

Parameters:
semiring - The semiring element to add.
Returns:
The result of the addition.

multiply

Semiring multiply(Semiring semiring)
This method computes the multiplication of two semiring elements.

Parameters:
semiring - The semiring element to multiply.
Returns:
The result of the multiplication.