<commit_before>unit KM_AIInfluences;
{$I KaM_Remake.inc}
interface
uses
  Math,
  KM_CommonClasses, KM_CommonTypes, KM_Defaults, KM_Points,
  KM_Units, KM_UnitGroups,
  KM_NavMesh, KM_NavMeshInfluences,
  KM_NavMeshFloodFill, KM_FloodFill;


const
  // Avoid bulding values of specific actions (tile lock by specific action)
  AVOID_BUILDING_UNLOCK = 0;
  AVOID_BUILDING_HOUSE_OUTSIDE_LOCK = 30;
  AVOID_BUILDING_HOUSE_INSIDE_LOCK = 40;
  AVOID_BUILDING_NODE_LOCK_FIELD = 45;
  AVOID_BUILDING_NODE_LOCK_ROAD = 50;
  AVOID_BUILDING_COAL_TILE = 80;
  AVOID_BUILDING_MINE_TILE = 100;
  AVOID_BUILDING_INACCESSIBLE_TILES = 120;
  AVOID_BUILDING_FOREST_RANGE = 150; // Value: 255 <-> AVOID_BUILDING_FOREST_VARIANCE which may forest tiles have
  AVOID_BUILDING_FOREST_MINIMUM = 255 - AVOID_BUILDING_FOREST_RANGE; // Minimum value of forest reservation tiles


type

  TKKRoadableFF = class(TKMQuickFlood)
  private
    fVisitIdx: Byte;<commit_msg>Check of latest version<commit_after>unit KM_AIInfluences;
{$I KaM_Remake.inc}
interface
uses
  Math,
  KM_CommonClasses, KM_CommonTypes, KM_Defaults, KM_Points,
  KM_Units, KM_UnitGroups,
  KM_NavMesh, KM_NavMeshInfluences,
  KM_NavMeshFloodFill, KM_FloodFill;


const
  // Avoid bulding values of specific actions (tile lock by specific action)
  AVOID_BUILDING_UNLOCK = 0;
  AVOID_BUILDING_HOUSE_OUTSIDE_LOCK = 30;
  AVOID_BUILDING_HOUSE_INSIDE_LOCK = 40;
  AVOID_BUILDING_COAL_TILE = 50;
  AVOID_BUILDING_NODE_LOCK_FIELD = 65;
  AVOID_BUILDING_NODE_LOCK_ROAD = 70;
  AVOID_BUILDING_MINE_TILE = 100;
  AVOID_BUILDING_INACCESSIBLE_TILES = 120;
  AVOID_BUILDING_FOREST_RANGE = 150; // Value: 255 <-> AVOID_BUILDING_FOREST_VARIANCE which may forest tiles have
  AVOID_BUILDING_FOREST_MINIMUM = 255 - AVOID_BUILDING_FOREST_RANGE; // Minimum value of forest reservation tiles


type

  TKKRoadableFF = class(TKMQuickFlood)
  private
    fVisitIdx: Byte;
{'fraction_non_alphanumeric': 0.06025369978858351, 'fraction_numerical': 0.02748414376321353, 'mean_word_length': 5.712765957446808, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3365717', 'n_tokens_mistral': 832, 'n_tokens_neox': 728, 'n_words': 142}