Max-plus algebra
From Wikipedia, the free encyclopedia
A Max-plus algebra is an algebra over the real numbers with maximum and addition as the two binary operations. It can be used appropriately to determine marking times within a given Petri net and a vector filled with marking state at the beginning.
Contents |
[edit] Operators
[edit] Scalar Operations
Let A and B be a scalar. Then the operations maximum (implied by the max operator ) and addition (plus operator
) for this scalars are defined as
Watch: Max-operator can easily be mixed up with the addition operation. All
- operations have a higher rank than
- operations.
[edit] Matrix Operations
Max-Plus algebra can be used for matrix operands M, N likewise. To perform the - operation, the elements of the resulting matrix R (row i, column j) have to be set up by the maximum operation of both corresponding elements of the matrices M and N:
Rij = Mij Nij
The - operation is similar to algorithm of Matrix multiplication, however, every "
" calculation has to be substituted by a
- operation, every "+" calculation by a
- operation.
[edit] Useful Enhancement Elements
In order to handle marking times like which means "never before", the ε-element has been established by ε
. According to the idea of infinity, the following equations can be found:
ε A = A
ε A = ε
To point the zero number out, the element e was defined by e = 0. Therefore:
e A = A
Obviously, ε is the neutral element for the - operation as well as e is for the
- operation
[edit] Algebra Properties
- associativity:
(A B)
C = A
(B
C)
(A B)
C = A
(B
C)
- commutativity :
A B= B
A
- distributivity:
(A B)
C = A
C
B
C
Note: B A
A
B (in general, similar to usual matrix algebra)