Skip to content

Commit

Permalink
from to build
Browse files Browse the repository at this point in the history
  • Loading branch information
martinfleis committed Jul 28, 2023
1 parent 6d9027c commit c65d3e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libpysal/weights/experimental/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def from_dicts(cls, neighbors, weights=None):
return cls.from_arrays(head, tail, weight)

@classmethod
def from_contiguity(cls, geometry, rook=True, by_perimeter=False, strict=False):
def build_contiguity(cls, geometry, rook=True, by_perimeter=False, strict=False):
"""Generate W from geometry based on the contiguity
TODO: specify the planarity constraint of the defitnion of queen and rook (e.g
Expand Down Expand Up @@ -203,7 +203,7 @@ def from_contiguity(cls, geometry, rook=True, by_perimeter=False, strict=False):
)

@classmethod
def from_kernel(
def build_kernel(
cls,
data,
bandwidth=None,
Expand Down Expand Up @@ -265,7 +265,7 @@ def from_kernel(
return NotImplementedError

@classmethod
def from_triangulation(
def build_triangulation(
cls,
data,
method="delaunay",
Expand Down

0 comments on commit c65d3e5

Please sign in to comment.