Revision 178:6e3e34314a12

View differences:

src/main/java/cz/agents/dimaptools/search/HeuristicOpenList.java
79 79
	 * TODO: this does not make sense! if a state is preferred must be determined by which 
80 80
	 * operator it was created, no form which queue it was pulled 
81 81
	 * - in normal queue are both preferred and normal states. The way it is implemented, once
82
	 * a queue is polled, it will most probably be allways polled (until its empty)
82
	 * a queue is polled, it will most probably be always polled (until its empty)
83 83
	 */
84 84
	public boolean polledPreferred() {
85 85
		return polledPreferred;
src/main/java/cz/agents/dimaptools/search/MultiheuristicDistributedBestFirstSearch.java
114 114
                	
115 115
                	if(state.getHeuristic() < minH){
116 116
    	              	minH = state.getHeuristic();
117
    	               	if(LOGGER.isInfoEnabled())LOGGER.info("Reached new minimal [" + state.getParentActionOwner() + "] /h/: " + minH);
117
    	               	if(LOGGER.isInfoEnabled())LOGGER.info(problem.agent + ": Reached new minimal [" + state.getParentActionOwner() + "] /h/: " + minH);
118 118
    	            }
119 119
    	            if(state.getG() > maxG){
120 120
    	               	maxG = state.getG();
121
    	               	if(LOGGER.isInfoEnabled())LOGGER.info("Reached new maximal [" + state.getParentActionOwner() + "] /g/: " + maxG);
121
    	               	if(LOGGER.isInfoEnabled())LOGGER.info(problem.agent + ": Reached new maximal [" + state.getParentActionOwner() + "] /g/: " + maxG);
122 122
    	            }
123 123

  
124 124
                    closed.add(state.hashCode());

Also available in: Unified diff