module Algo:
Implements strategy algorithms on graphs
| Parameters: |
|
val coherent_player : Strat.G.t -> P.t -> boolcoherent_player g p returns true iff
the completion p is coherent w.r.t.
the graph g
val coherent_strat : Strat.G.t -> S.t -> boolcoherent_strat g s returns true iff
the strategy s is coherent w.r.t.
the graph g
val game : Strat.G.t -> P.t -> S.t -> S.t -> boolgame g p a b returns true iff a wins in g
given the completion p (i.e. the game
goes through a final state).
val strategy : Strat.G.t -> P.t -> S.t -> boolstrategy g p s returns true iff s wins in g
given the completion p, whatever strategy
plays the other player.
val strategyA : Strat.G.t -> P.t -> bool * S.tstrategyA g p returns true iff there
exists a winning stragegy for the true
player. In this case, the winning
strategy is provided.