Page 1 of 1

Complexity analysis of factorio resources

Posted: Fri Apr 23, 2021 6:00 pm
by blazespinnaker
Was wondering if anyone has done this. Fairly easy to do, just add up complexity of the total build chain of a resource, but if someone has already got it done, nicely laid out, love to re-use it.

Dave? :)

Re: Complexity analysis of factorio resources

Posted: Fri Apr 23, 2021 8:23 pm
by ptx0
"Dave's not here, man" :lol:

Re: Complexity analysis of factorio resources

Posted: Fri Apr 23, 2021 9:58 pm
by NotRexButCaesar
You could use an online calculator and look at the number of layers on the “visualization” (flow chart) section.

Re: Complexity analysis of factorio resources

Posted: Sat Apr 24, 2021 10:05 am
by jodokus31
blazespinnaker wrote: Fri Apr 23, 2021 6:00 pm Was wondering if anyone has done this. Fairly easy to do, just add up complexity of the total build chain of a resource, but if someone has already got it done, nicely laid out, love to re-use it.

Dave? :)
Just do it yourself, i suppose :)

Re: Complexity analysis of factorio resources

Posted: Sat Apr 24, 2021 12:10 pm
by blazespinnaker
There are different ways of doing the scoring I suppose.

For example, both ore and oil just take one step (miner or pumpjack), but clearly oil is harder to get. How much harder, is map dependent and subjective to skills. Advanced oil also has complexity issues with buffering and pipe layout.

Visualize on KirckMcdonald's calc is useful, but not very numerical.

https://kirkmcdonald.github.io/calc.htm ... 3:p3:p3:p3

If someone has a link to something better, that'd be great.

Simplest is just looking at the production chain.

eg, from the top of my head:

Ground = 0
Raw = 1 (ground + 1) #ore, coal
Plates = 2 (Raw + 1) #3 I guess if you don't use electric furnaces, but I use 2 here because of relative complexity to oil
BaseComponent = 3 (Plates + 1) # Base components are gear, wire, stick, steel
GC = 6 (Wire + Plate + 1)

Petro = 3 (oil + water + 1)
LightOil = 3 (oil + water + 1)
SolidFuel = 4 (Petro + 1)
Plastic = 5 (Coal + Petro + 1)
Sulfur = 5 (Petro + Raw + 1)
Acid = 9 (Sulfur + Plates + Raw + 1)

RC = 15 (Wire + GC + Plastic + 1)
BC = 31 (GC + RC + Acid + 1)

SpeedModule = 22 (GC + RC + 1)

RCU = 54 (SM + BC + 1)


Jetfuel = 8 (SolidFuel + LightOil + 1)


LDS = 11 (plastic + steel + plates + 1)


..

In this case it *sort of* helps numerically measure relative complexity for RCU versus Jetfuel versus LDS. As always: YMMV.

Re: Complexity analysis of factorio resources

Posted: Sat Apr 24, 2021 12:33 pm
by jodokus31
Maybe YAFC does want you want as it as a "YAFC cost" to each item?
yafc screenshot
https://github.com/ShadowTheAge/yafc/re ... tag/v0.5.5

Re: Complexity analysis of factorio resources

Posted: Sat Apr 24, 2021 12:39 pm
by blazespinnaker
Zowie. No, not at all, but respect for the effort.

Something in browser I think would be appropriate here. There is only some small value to this list, and it's going to be rather subjective.