public abstract class AStarGenericSearch extends Object
This class provides a generic search with an implementation of the A-Star-Algorithm in the context of mappings for
DataObjects. Each extension of this generic class at least has to define an initial state for the search. Starting with the initial state, the algorithm always tries to map more
DataObjects until all objects are mapped or some objects cannot be mapped.
- Maximilian Hoffmann
Method SummaryModifier and TypeMethodDescription
protected abstract AStarStateThe initial state is the very first state that is expanded by the A-Star algorithm.This method has to be called in order to start the search.
startSearchpublic AStarResult startSearch()This method has to be called in order to start the search.
AStarResultobject that contains the best found mapping and an exception if the mapping is incomplete
createInitialStateThe initial state is the very first state that is expanded by the A-Star algorithm.