*/
private final void checkConsideringIgnoredStates(String graph, String graphName, Class<? extends StatesToConsider> filterClass, String [] expectedToRemain)
{
Configuration conf = Configuration.getDefaultConfiguration().copy();conf.setTransitionMatrixImplType(STATETREE.STATETREE_SLOWTREE);
LearnerGraph gr=buildLearnerGraph(graph,graphName,conf,null);
StatesToConsider filter = createInstanceOfFilter(filterClass, gr);
for(boolean direction:new boolean[]{false,true})
{
GDLearnerGraph ndGraph = new GDLearnerGraph(gr,filter, direction);
Map<CmpVertex,Integer> state_to_int_map = new TreeMap<CmpVertex,Integer>();
CmpVertex [] numberToStateNoReject = gr.buildStateToIntegerMap(filter,state_to_int_map);