HiLeS_To_TimePetriNet/PlaceToPlace [ Rules ]

[ Top ] [ HiLeS_To_TimePetriNet ] [ Rules ]

SUMMARY

Transform a HiLeS HilesSystem to a TPN Time Petri Net ($Rev: 447 $)

DESCRIPTION

Create a TPN Place with the information from the HiLes Place

SEE ALSO

*

DOMAIN

SPECIFICATION

        relation PlaceToPlace
        {
            checkonly domain hiles hp:Place {
                name = hpn,
                hasToken = hpt,
            }
            enforce domain tpn p:Place {
                name = hpn,
                marking = pm,
            }
            where {
                if hpt then
                    pm = 1;
                endif
            }
 *