| Conditions | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | package it.cnr.istc.pst.platinum.ai.deliberative.strategy; |
||
| 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 | } |
||
| 54 |