|
FUNCTION acyclic_linear_array_placement_group_component_link (relation : linear_array_placement_group_component_link, relatives : SET [1:?] OF linear_array_placement_group_component_armx, specific_relation : STRING) : BOOLEAN; LOCAL x : SET OF linear_array_placement_group_component_link ; END_LOCAL ; IF relation . precedent_element IN relatives THEN RETURN ( FALSE ) ; END_IF ; x := QUERY ( pd <* bag_to_set ( USEDIN ( relation . precedent_element , 'component_grouping_xim.' + 'linear_array_placement_group_component_link.' + 'subsequent_element' ) ) | specific_relation IN TYPEOF ( pd ) ) ; REPEAT i := 1 TO HIINDEX ( x ) ; IF NOT acyclic_linear_array_placement_group_component_link ( x [ i ] , relatives + relation . precedent_element , specific_relation ) THEN RETURN ( FALSE ) ; END_IF ; END_REPEAT ; RETURN ( TRUE ) ; END_FUNCTION; -- acyclic_linear_array_placement_group_component_link |
|
public class FAcyclic_linear_array_placement_group_component_link public static Value run(SdaiContext _context, Value relation, Value relatives, Value specific_relation) |