Skip to content

NetworkComputing.java

Raphael Lutz edited this page Jul 12, 2018 · 1 revision

Static class (id est no instance is created) in charge of computing the evolution of the network.

Methods

One-time methods

  • void computeCellsPosition(Network n) : computes the position of each Cell and save it in its x,y fields

Every-frame methods

  • void evolve(Network n) : updates all cells according to their nextState
  • void computeEvolution(Network n) : computes the nextState of every cell according to the rules of circulation

Clone this wiki locally