FUNCTION acyclic_alternative_solution_relationship
(* SCHEMA step_merged_ap_schema; *)
-- IN AP242
FUNCTION acyclic_alternative_solution_relationship
(relation : alternative_solution_relationship;
relatives : SET [1:?] OF product_definition_formation;
specific_relation : STRING ) : BOOLEAN;
LOCAL
x : SET OF alternative_solution_relationship;
END_LOCAL;
IF relation.relating_product_definition_formation IN relatives THEN
RETURN (FALSE);
END_IF;
x := QUERY (asr <* bag_to_set(USEDIN(relation.relating_product_definition_formation, 'STEP_MERGED_AP_SCHEMA.ALTERNATIVE_SOLUTION_RELATIONSHIP.RELATED_PRODUCT_DEFINITION_FORMATION'))| specific_relation IN TYPEOF(asr));
REPEAT i := 1 TO HIINDEX(x);
IF NOT acyclic_alternative_solution_relationship(x[i], (relatives + relation.relating_product_definition_formation), specific_relation) THEN
RETURN (FALSE);
END_IF;
END_REPEAT;
RETURN (FALSE);
END_FUNCTION;
Referenced By
Defintion acyclic_alternative_solution_relationship is references by the following definitions:
[Top Level Definitions] [Exit]Generated by STEP Tools® EXPRESS to HTML Converter
2020-07-28T17:02:20-04:00