Skip to content
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

Add a feature to find n consecutive free computers #1

Open
chpatrick opened this issue Nov 28, 2011 · 6 comments
Open

Add a feature to find n consecutive free computers #1

chpatrick opened this issue Nov 28, 2011 · 6 comments

Comments

@chpatrick
Copy link
Owner

No description provided.

@petehamilton
Copy link
Contributor

Was literally about to add this myself...

@chpatrick
Copy link
Owner Author

You need to take into account machines in one group that aren't next to each other and machines in different groups that are.

@chpatrick
Copy link
Owner Author

It's probably easiest if you build a graph of computers next to each other and do some kind of traversal, don't know how you would go about that in JS.

@petehamilton
Copy link
Contributor

You could always just do a script in perl/python which did the traversal and returned lists of connected machines?

In JS I guess you could do some class based implementation, the graph isn't very big so it wouldn't be too processor heavy for clients.

On 30 Nov 2011, at 17:13, vahokif wrote:

It's probably easiest if you build a graph of computers next to each other and do some kind of traversal, don't know how you would go about that in JS.


Reply to this email directly or view it on GitHub:
#1 (comment)

@chpatrick
Copy link
Owner Author

I'll make an adjacency list JSON as soon as my home directory server comes back up.

@chpatrick
Copy link
Owner Author

And yeah, it's an almost-linear graph, apart from a cycle for the circle of fusions in the middle.

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

No branches or pull requests

2 participants