public List < TopologyDetails > needsSchedulingTopologies ( Topologies topologies ) { List < TopologyDetails > ret = new ArrayList <> ( ) ; for ( TopologyDetails topology : topologies . getTopologies ( ) ) { if ( needsScheduling ( topology ) ) { ret . add ( topology ) ; } } return ret ; }
Gets all the topologies which needs scheduling .