Class BruteForceSearcher
- java.lang.Object
-
- com.treasure.hunt.strategy.searcher.impl.BruteForceSearcher
-
-
Constructor Summary
Constructors Constructor Description BruteForceSearcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(org.locationtech.jts.geom.Point startPosition)SearchPathmove()A square-shaped circles around its initial position, increased by one relative to the previous "circle".SearchPathmove(Hint hint)
-
-
-
Method Detail
-
init
public void init(org.locationtech.jts.geom.Point startPosition)
-
move
public SearchPath move()
A square-shaped circles around its initial position, increased by one relative to the previous "circle".- Specified by:
movein interfaceSearcher<Hint>- Returns:
SearchPaththeSearchPaththe searcher did
-
move
public SearchPath move(Hint hint)
- Specified by:
movein interfaceSearcher<Hint>- Parameters:
hint- the hint, theHidergave last.- Returns:
move(Hint).
-
-