-
- All Implemented Interfaces:
public final class NavigationUtilsKt
-
-
Field Summary
Fields Modifier and Type Field Description public final static FloatSP_SCAN_RANGEpublic final static IntegerNUMBER_OF_EXPLORATION_RAYSpublic final static IntegerNUMBER_OF_EXPLORATION_POINTS_PER_RAYpublic final static FloatEXPLORATION_RAY_LENGTHpublic final static FloatEXPLORATION_RAY_SEGMENT_LENGTHpublic final static FloatPOINT_SAFETY_EVAL_RANGE_MARGIN
-
Method Summary
Modifier and Type Method Description final static Vector2ffindSafePoint(ShipAPI ship)final static FloatevaluateDangerAtPoint(Vector2f point, List<ShipAPI> enemies, Float rangeSafetyMargin)returns a value roughly equal to the sum of the ordinance points of enemies, adjusted by distance to that point the danger value for an individual ship is roughly 0~2 times its DP final static List<ShipCommand>getInvertedCommands(ShipCommand command)-
-
Method Detail
-
findSafePoint
final static Vector2f findSafePoint(ShipAPI ship)
-
evaluateDangerAtPoint
final static Float evaluateDangerAtPoint(Vector2f point, List<ShipAPI> enemies, Float rangeSafetyMargin)
returns a value roughly equal to the sum of the ordinance points of enemies, adjusted by distance to that point the danger value for an individual ship is roughly 0~2 times its DP
-
getInvertedCommands
final static List<ShipCommand> getInvertedCommands(ShipCommand command)
-
-
-
-