-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't use the NearbyTracker #11
Comments
The entire tracker framework is internal as I couldn't find a nice way of making it public without exposing too many internals. It's just an optimization, so it doesn't really prevent custom constraints. The NearbyTracker one specifically I hadn't considered to be reusable. I've had to tweak it several times to get the separation constraint right, so I'm not that confident in what I've got. It's got some quirks specific to the use case it was designed for. That same struggle is why the constraint you described isn't part of DeBroglie already. |
I tried copy/pasting the private class NearbyTracker from the SeparationConstraint, but I realize it's referencing a boatload of internal classes. Any particular reason why this class isn't public?
What I'm trying to do is create a custom constraint so that tiles of type X cannot be within Y tiles of type Z.
The text was updated successfully, but these errors were encountered: