Package com.takenoko.bot.unitary
Class SmartPattern
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
Fields inherited from class com.takenoko.bot.PriorityBot
DEFAULT_PRIORITY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanalyzeBoardToFindPlaceToCompleteShapeOfPatternObjective
(Board board, BotState botState) static double
calculatePriority
(Map.Entry<PatternObjective, List<Shape>> entry, Shape shape) protected void
fillAction
(Board board, BotState botState, History history) getCurrentPatternObjectives
(BotState botState) Methods inherited from class com.takenoko.bot.PriorityBot
add, addActionWithPriority, addWithAffine, addWithLinear, addWithOffset, addWithSquash, chooseAction, compute, equals, hashCode
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
toString
-
Constructor Details
-
SmartPattern
public SmartPattern()
-
-
Method Details
-
fillAction
- Specified by:
fillAction
in classPriorityBot
-
calculatePriority
-
analyzeBoardToFindPlaceToCompleteShapeOfPatternObjective
-
getCurrentPatternObjectives
-