public interface

CostNode

implements Node<A, S, N extends Node<A, S, N>> Comparable<T>
es.usc.citius.hipster.model.CostNode<A, S, C extends java.lang.Comparable<C>, N extends es.usc.citius.hipster.model.CostNode<A, S, C, N>>
Known Indirect Subclasses

Class Overview

Defines a node which stores an attribute for the cost, extending the interface of a basic node Node. The cost has a generic definition but must be comparable. This type of node is used by algorithms which store information about the cost from the cost but do not use a heuristic function to estimate the cost to the goal.

Summary

Public Methods
abstract C getCost()
[Expand]
Inherited Methods
From interface es.usc.citius.hipster.model.Node
From interface java.lang.Comparable

Public Methods

public abstract C getCost ()

Returns
  • the cost of this node