An empty method may be confusing. Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.
Loading history...
25
26
}
27
28
/**
29
*
30
*/
31
@Override
32
public void enqueue(SearchSpaceNode node)
33
{
34
// compute heuristic cost
35
Map<DomainComponent, Double[]> h = this.computeHeuristicCost(node);
36
// set heuristic estimation
37
node.setHeuristicCost(h);
38
// add the node to the priority queue
39
this.fringe.offer(node);
40
}
41
42
/**
43
*
44
*/
45
@Override
46
public int compare(SearchSpaceNode o1, SearchSpaceNode o2)
47
{
48
// compare heuristics and makespan of nodes and use depth as last selection criterion