public static List<Graph> generatePatternDags(Graph pattern,boolean orientBidirectedEdges){
  if (orientBidirectedEdges) {
    pattern=GraphUtils.removeBidirectedOrientations(pattern);
  }
  return getDagsInPatternMeek(pattern,new Knowledge2());
}

public static List < Graph > generatePatternDags ( Graph pattern , boolean orientBidirectedEdges ) { if ( orientBidirectedEdges ) { pattern = GraphUtils . removeBidirectedOrientations ( pattern ) ; } return getDagsInPatternMeek ( pattern , new Knowledge2 ( ) ) ; }
generates the list of dags in the given pattern .
