Infrastructure.validate#

Infrastructure.validate(other)[source]

Validate the infrastructure against a set of requirements.

Compares the requirements of the nodes and edges in the PlacementView with the resources of the nodes and edges in the Infrastructure.

Parameters:

other (Infrastructure) – The Infrastructure to compare with.

Returns:

A list of nodes whose requirements are not respected or

whose connected links are not respected.

Return type:

list[str]