public static StaticBipartiteGraph buildSmallTestBipartiteGraph(){
  Long2ObjectMap<LongList> leftSideGraph=new Long2ObjectOpenHashMap<LongList>(3);
  leftSideGraph.put(1,new LongArrayList(new long[]{2,3,4,5}));
  leftSideGraph.put(2,new LongArrayList(new long[]{5,6,10}));
  leftSideGraph.put(3,new LongArrayList(new long[]{7,8,5,9,2,10,11,1}));
  Long2ObjectMap<LongList> rightSideGraph=new Long2ObjectOpenHashMap<LongList>(10);
  rightSideGraph.put(1,new LongArrayList(new long[]{3}));
  rightSideGraph.put(2,new LongArrayList(new long[]{1,3}));
  rightSideGraph.put(3,new LongArrayList(new long[]{1}));
  rightSideGraph.put(4,new LongArrayList(new long[]{1}));
  rightSideGraph.put(5,new LongArrayList(new long[]{1,2,3}));
  rightSideGraph.put(6,new LongArrayList(new long[]{2}));
  rightSideGraph.put(7,new LongArrayList(new long[]{3}));
  rightSideGraph.put(8,new LongArrayList(new long[]{3}));
  rightSideGraph.put(9,new LongArrayList(new long[]{3}));
  rightSideGraph.put(10,new LongArrayList(new long[]{2,3}));
  rightSideGraph.put(11,new LongArrayList(new long[]{3}));
  return new StaticBipartiteGraph(leftSideGraph,rightSideGraph);
}

public static StaticBipartiteGraph buildSmallTestBipartiteGraph ( ) { Long2ObjectMap < LongList > leftSideGraph = new Long2ObjectOpenHashMap < LongList > ( 3 ) ; leftSideGraph . put ( 1 , new LongArrayList ( new long [ ] { 2 , 3 , 4 , 5 } ) ) ; leftSideGraph . put ( 2 , new LongArrayList ( new long [ ] { 5 , 6 , 10 } ) ) ; leftSideGraph . put ( 3 , new LongArrayList ( new long [ ] { 7 , 8 , 5 , 9 , 2 , 10 , 11 , 1 } ) ) ; Long2ObjectMap < LongList > rightSideGraph = new Long2ObjectOpenHashMap < LongList > ( 10 ) ; rightSideGraph . put ( 1 , new LongArrayList ( new long [ ] { 3 } ) ) ; rightSideGraph . put ( 2 , new LongArrayList ( new long [ ] { 1 , 3 } ) ) ; rightSideGraph . put ( 3 , new LongArrayList ( new long [ ] { 1 } ) ) ; rightSideGraph . put ( 4 , new LongArrayList ( new long [ ] { 1 } ) ) ; rightSideGraph . put ( 5 , new LongArrayList ( new long [ ] { 1 , 2 , 3 } ) ) ; rightSideGraph . put ( 6 , new LongArrayList ( new long [ ] { 2 } ) ) ; rightSideGraph . put ( 7 , new LongArrayList ( new long [ ] { 3 } ) ) ; rightSideGraph . put ( 8 , new LongArrayList ( new long [ ] { 3 } ) ) ; rightSideGraph . put ( 9 , new LongArrayList ( new long [ ] { 3 } ) ) ; rightSideGraph . put ( 10 , new LongArrayList ( new long [ ] { 2 , 3 } ) ) ; rightSideGraph . put ( 11 , new LongArrayList ( new long [ ] { 3 } ) ) ; return new StaticBipartiteGraph ( leftSideGraph , rightSideGraph ) ; }
build a small test bipartite graph .
