Factorio inspired math problem: belts and splitters
Posted: Mon May 25, 2020 3:26 am
Does anyone know an algorithm or for finding the output of a belt after a arbitrary network of belt splitters?
Specifically:
Given
1) some number of input belts, each with some constant number resources coming in.
2) some network of belts and splitters, including splitters feeding back into themselves.
3) some number of output belts
4) no maximum belt throughput (unless this makes the math harder instead of easier).
5) single lane belts
How do I calculate the output rate of every output belt?
This is a graph theory question, but I don't know the right search terms to look for an answer.
Specifically:
Given
1) some number of input belts, each with some constant number resources coming in.
2) some network of belts and splitters, including splitters feeding back into themselves.
3) some number of output belts
4) no maximum belt throughput (unless this makes the math harder instead of easier).
5) single lane belts
How do I calculate the output rate of every output belt?
This is a graph theory question, but I don't know the right search terms to look for an answer.