Overview Schemas Index

ACTION_SCHEMA (jsdai.SAction_schema)


FUNCTION acyclic_action_method_relationship
          (relation : action_method_relationship, relatives : SET [1:?] OF action_method, specific_relation : STRING) : BOOLEAN;

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

END_FUNCTION; -- acyclic_action_method_relationship

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