Overview Schemas Index

ACTION_SCHEMA (jsdai.SAction_schema)


FUNCTION acyclic_action_relationship
          (relation : action_relationship, relatives : SET [1:?] OF action, specific_relation : STRING) : BOOLEAN;

 LOCAL x : SET OF action_relationship ; END_LOCAL ; IF  relation . relating_action IN  relatives THEN  RETURN  ( FALSE  ) ; END_IF  ; x := QUERY ( actn <* bag_to_set ( USEDIN ( relation . relating_action , 'action_schema.' + 'action_relationship.' + 'related_action' ) ) | specific_relation IN TYPEOF ( actn ) ) ; REPEAT i := 1 TO HIINDEX ( x ) ; IF NOT acyclic_action_relationship ( x [ i ] , relatives + relation . relating_action , specific_relation ) THEN RETURN  ( FALSE ) ; END_IF ; END_REPEAT ; RETURN ( TRUE ) ; 

END_FUNCTION; -- acyclic_action_relationship

public class FAcyclic_action_relationship
          public static Value run(SdaiContext _context, Value relation, Value relatives, Value specific_relation)