@ProblemFactCollectionProperty
    private List<MrServiceDependency> getServiceDependencyList() {
        List<MrServiceDependency> serviceDependencyList = new ArrayList<>(serviceList.size() * 5);
        for (MrService service : serviceList) {
            for (MrService toService : service.getToDependencyServiceList()) {
                MrServiceDependency serviceDependency = new MrServiceDependency();
                serviceDependency.setFromService(service);
                serviceDependency.setToService(toService);
                serviceDependencyList.add(serviceDependency);
            }
        }
        return serviceDependencyList;
    }
@ProblemFactCollectionProperty
    private List<MrServiceDependency> getServiceDependencyList() {
        List<MrServiceDependency> serviceDependencyList = new ArrayList<>(serviceList.size() * 5);
        for (MrService service : serviceList) {
            for (MrService toService : service.getToDependencyServiceList()) {
                MrServiceDependency serviceDependency = new MrServiceDependency();
                serviceDependency.setFromService(service);
                serviceDependency.setToService(toService);
                serviceDependencyList.add(serviceDependency);
            }
        }
        return serviceDependencyList;
    }
@ ProblemFactCollectionProperty private List < MrServiceDependency > getServiceDependencyList ( ) { List < MrServiceDependency > serviceDependencyList = new ArrayList <> ( serviceList . size ( ) * 5 ) ; for ( MrService service : serviceList ) { for ( MrService toService : service . getToDependencyServiceList ( ) ) { MrServiceDependency serviceDependency = new MrServiceDependency ( ) ; serviceDependency . setFromService ( service ) ; serviceDependency . setToService ( toService ) ; serviceDependencyList . add ( serviceDependency ) ; } } return serviceDependencyList ; }
************************************************************************
************************************************************************