#!/bin/sh # -*- coding: utf-8 -*- # Copyright (C) 2016 Laboratoire de Recherche et Développement de # l'Epita (LRDE). # # This file is part of Spot, a model checking library. # # Spot is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # Spot is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public # License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . . ./defs set -e cat >alt.hoa <alt.dot cat >expect.dot < 0 0 [label="((((a) U (b)) && GF(b)) && FG(a))"] 0 -> -1 [label="b", dir=none] -1[label=<>,width=0,height=0,shape=none] -1 -> 3 -1 -> 1 0 -> -4 [label="a & !b", style=bold, color="#F15854", dir=none] -4[label=<>,width=0,height=0,shape=none] -4 -> 5 [style=bold, color="#F15854"] -4 -> 3 [style=bold, color="#F15854"] -4 -> 1 [style=bold, color="#F15854"] 1 [label="FG(a)\n⓿"] 1 -> 2 [label="a"] 1 -> 1 [label="1"] 2 [label="G(a)"] 2 -> 2 [label="a"] 3 [label="GF(b)"] 3 -> 3 [label="b"] 3 -> -8 [label="!b", style=bold, color="#FAA43A", dir=none] -8[label=<>,width=0,height=0,shape=none] -8 -> 4 [style=bold, color="#FAA43A"] -8 -> 3 [style=bold, color="#FAA43A"] 4 [label="F(b)\n⓿"] 4 -> 6 [label="b"] 4 -> 4 [label="!b"] 5 [label="((a) U (b))\n⓿"] 5 -> 6 [label="b"] 5 -> 5 [label="a & !b"] 6 [label="t"] 6 -> 6 [label="1"] } EOF diff expect.dot alt.dot