nenok.va.semiring
Interface Element

All Superinterfaces:
Serializable
All Known Subinterfaces:
RegularElement

public interface Element
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:
1.0
Author:
Marc Pouly

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

Method Detail

add

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

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

multiply

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

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