src/strategy/Parity3.java
private static TreeSet<Integer> findOneTwoSubgame(Game game, TreeSet<Integer> findhere) {
		
		TreeSet<Integer> targets = new TreeSet<Integer>();
		for (Integer key : findhere)
			if (game.states.get(key).parity == 0)
				targets.add(key);
		
		Ranks.subgame(game, findhere, targets, 1);
		TreeSet<Integer> result = new TreeSet<Integer>();
		for (Integer key : findhere)
			if (game.states.get(key).rank == -1)
				result.add(key);
		
		return result;
	}
/**
	 * Finds a 1/2 subgame within a subgame
	 * @param game		The entire game
	 * @param findhere	Find a 1/2 subgame in this subgame
	 * @return			State space of the 1/2 subgame
	 */
Finds a 1/2 subgame within a subgame
@param game          The entire game
@param findhere      Find a 1/2 subgame in this subgame
@return                      State space of the 1/2 subgame
Finds a 1 / 2 subgame within a subgame @param game The entire game @param findhere Find a 1 / 2 subgame in this subgame @return State space of the 1 / 2 subgame
private static TreeSet<Integer> findOneTwoSubgame(Game game, TreeSet<Integer> findhere) {
		TreeSet<Integer> targets = new TreeSet<Integer>();
		for (Integer key : findhere)
			if (game.states.get(key).parity == 0)
				targets.add(key);
		Ranks.subgame(game, findhere, targets, 1);
		TreeSet<Integer> result = new TreeSet<Integer>();
		for (Integer key : findhere)
			if (game.states.get(key).rank == -1)
				result.add(key);
		return result;
	}
private static TreeSet < Integer > findOneTwoSubgame ( Game game , TreeSet < Integer > findhere ) { TreeSet < Integer > targets = new TreeSet < Integer > ( ) ; for ( Integer key : findhere ) if ( game . states . get ( key ) . parity == 0 ) targets . add ( key ) ; Ranks . subgame ( game , findhere , targets , 1 ) ; TreeSet < Integer > result = new TreeSet < Integer > ( ) ; for ( Integer key : findhere ) if ( game . states . get ( key ) . rank == - 1 ) result . add ( key ) ; return result ; }
Finds a 1/2 subgame within a subgame
 @param game          The entire game
 @param findhere      Find a 1/2 subgame in this subgame
 @return                      State space of the 1/2 subgame
Finds a 1 / 2 subgame within a subgame @param game The entire game @param findhere Find a 1 / 2 subgame in this subgame @return State space of the 1 / 2 subgame