Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.

Better federation algorithm #231

Closed
coyotte508 opened this issue Feb 18, 2021 · 1 comment
Closed

Better federation algorithm #231

coyotte508 opened this issue Feb 18, 2021 · 1 comment
Assignees

Comments

@coyotte508
Copy link
Member

Know when to give up looking for federations.

With the following data: https://gist.github.com/coyotte508/3e431a5cf077808a63cc306b44e0708e

image

Ivits, when they convert power to a qic, trigger a refresh of the federation cache. And it causes the site to hang too long and causes an error 504 and they can't complete their next move.

At least, for ivits, planets that are unreachable from the current federation should be excluded from the search space.

More generally, if with a given number of satellites any two building groups can not be connected, the suggested federation should be discarded.

@coyotte508 coyotte508 self-assigned this Feb 18, 2021
@coyotte508 coyotte508 pinned this issue Feb 18, 2021
@coyotte508 coyotte508 assigned coyotte508 and unassigned coyotte508 Feb 18, 2021
@coyotte508
Copy link
Member Author

Addressed by 0e8acbc

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant