public class

ADStarNodeFactory

extends Object
implements NodeFactory<A, S, N>
java.lang.Object
   ↳ es.usc.citius.hipster.model.function.impl.ADStarNodeFactory<A, S, C extends java.lang.Comparable<C>>

Class Overview

The ADStarNodeBuilder is used for instantiate new ADStarNodeImpl.

Summary

Fields
protected BinaryOperation<C extends Comparable<C>> addOperation
protected HeuristicFunction<S, C extends Comparable<C>> hf
protected C extends Comparable<C> max
protected C extends Comparable<C> min
protected ScalarOperation<C extends Comparable<C>> scaleOperation
Public Constructors
ADStarNodeFactory(BinaryOperation<C> addOp, ScalarOperation<C> scaleOp, HeuristicFunction<S, C> hf)
Constructor which takes the minimum and maximum cost values managed by the algorithm to initialize the node values properly.
ADStarNodeFactory(SearchComponents<A, S, C> components)
Constructor which takes the search components instead of taking all the separated arguments.
Public Methods
ADStarNodeImpl<A, S, C> makeNode(ADStarNodeImpl<A, S, C> from, Transition<A, S> transition)
[Expand]
Inherited Methods
From class java.lang.Object
From interface es.usc.citius.hipster.model.function.NodeFactory

Fields

protected BinaryOperation<C extends Comparable<C>> addOperation

protected HeuristicFunction<S, C extends Comparable<C>> hf

protected C extends Comparable<C> max

protected C extends Comparable<C> min

protected ScalarOperation<C extends Comparable<C>> scaleOperation

Public Constructors

public ADStarNodeFactory (BinaryOperation<C> addOp, ScalarOperation<C> scaleOp, HeuristicFunction<S, C> hf)

Constructor which takes the minimum and maximum cost values managed by the algorithm to initialize the node values properly.

Parameters
addOp addition operation
scaleOp scaling operation
hf heuristic function

public ADStarNodeFactory (SearchComponents<A, S, C> components)

Constructor which takes the search components instead of taking all the separated arguments.

Parameters
components search components of the algorithm

Public Methods

public ADStarNodeImpl<A, S, C> makeNode (ADStarNodeImpl<A, S, C> from, Transition<A, S> transition)