Class ChocoViews

java.lang.Object
org.btrplace.scheduler.choco.view.ChocoViews

public class ChocoViews
extends Object
Utility class to manipulate collection of ChocoView.
  • Method Details

    • resolveDependencies

      public static List<ChocoView> resolveDependencies​(Model mo, List<ChocoView> views, Collection<String> base) throws SchedulerException
      Flatten the views while considering their dependencies. Operations over the views that respect the iteration order, satisfies the dependencies.
      Parameters:
      mo - the model
      views - the associated solver views
      base - the identifier of the core views.
      Returns:
      the list of views, dependency-free
      Throws:
      SchedulerException - if there is a cyclic dependency