Skip to content

Commit

Permalink
Replaced methods with @Getter
Browse files Browse the repository at this point in the history
  • Loading branch information
Metaphoriker committed Jun 25, 2024
1 parent b1ba9b5 commit f90f851
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
import java.util.HashSet;
import java.util.Set;

import lombok.Getter;
import org.patheloper.api.wrapper.PathPosition;

/**
* The GridRegionData class represents the data associated with a grid region. This data includes a
* Bloom filter used to quickly check if a position is within the region and a set of positions that
* have been examined by the pathfinder.
*/
@Getter
public class GridRegionData {

/**
Expand Down Expand Up @@ -51,12 +53,4 @@ public GridRegionData() {
bloomFilter = BloomFilter.create(pathPositionFunnel, DEFAULT_BLOOM_FILTER_SIZE, DEFAULT_FPP);
regionalExaminedPositions = new HashSet<>();
}

public BloomFilter<PathPosition> getBloomFilter() {
return bloomFilter;
}

public Set<PathPosition> getRegionalExaminedPositions() {
return regionalExaminedPositions;
}
}

0 comments on commit f90f851

Please sign in to comment.