Meta: catch_and_ignore_well_definedness_error(0,*)
Meta: catch_and_ignore_well_definedness_error(*,0,*)
Description:
suitable_for_por(EnGraph,Result) :-
(not_all_reachable(EnGraph) ->
Result=true
; Result=false
).
not_all_reachable(EnGraph) :-
ample_sets: vertices(EnGraph,Vertices),
member(V,Vertices),
\+ (ample_sets: reachable(V,EnGraph,Reachable),Reachable=Vertices).
DEPENDENCY RELATION (BEGIN)
Description:
Act1 and Act2 are enabled in current state State,
we don't have to check if both actions are enabled in
some state
Description:
:- use_module(library(lists)).
:- use_module(probsrc(self_check)).
Description:
compute_dependendency_relation_of_all_events_in_the_model(1,por(ample_sets,0,0,0),EnableGraph),
suitable_for_por(EnableGraph,POR),
Description:
get_conj_inv_predicate([PosGuard1,PosGuard2],FindInvViolations,GuardsConj),
Description:
pred(P) - adds P to invariant
typing(P) - just use typing from invariant and add P