Class HPACluster

java.lang.Object
net.citizensnpcs.api.hpastar.HPACluster

public class HPACluster extends Object
  • Constructor Details

    • HPACluster

      public HPACluster(HPAGraph graph, int level, int clusterSize, int clusterX, int clusterY, int clusterZ)
  • Method Details

    • buildFrom

      public void buildFrom(List<HPACluster> clusters)
    • connect

      public void connect(HPACluster other, Direction direction)
    • connectIntra

      public void connectIntra()
    • contains

      public boolean contains(HPACluster other)
    • hasWalkableNodes

      public boolean hasWalkableNodes()
    • insert

      public void insert(HPAGraphNode node)
    • remove

      public void remove(HPAGraphNode... nodes)
    • toString

      public String toString()
      Overrides:
      toString in class Object