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 void
init(org.locationtech.jts.geom.Point startPosition)
SearchPath
move()
A square-shaped circles around its initial position, increased by one relative to the previous "circle".SearchPath
move(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:
move
in interfaceSearcher<Hint>
- Returns:
SearchPath
theSearchPath
the searcher did
-
move
public SearchPath move(Hint hint)
- Specified by:
move
in interfaceSearcher<Hint>
- Parameters:
hint
- the hint, theHider
gave last.- Returns:
move(Hint)
.
-
-