Skip to content

State file (XML)_eac3

Karel Kubicek edited this page Feb 13, 2017 · 1 revision

root element: eacirc_state

  • generations_required
    number of generations planned to run/evolve
  • generations_finished
    number of generation already evolved (0 for initial pre-evolution state)
  • main_seed
    seed used for main random generator (which is used to seed the entire program)
    this is the ONLY source of randomness in the entire program
  • current_galib_seed
    current seed used for GAlib (usually generated and set just before saving the state so that correct loading is possible)
  • random_generators
    wrapper element for random generators
    • main_generator
      state of generator used for seeding generators (primary source of entropy)
    • galib_generator
      state of generator used for evolutionary stuff (GAlib reseeding, circuit initialization, mutation and crossover)
    • rndgen
      state of generator handling common requests for random
    • biasrndgen
      state of biased random generator
  • project
    current project state, mostly project-specific, following 3 attributes are generated automatically by the framework
    • type
      project constant
    • description
      short, human-readable project description
    • loadable
      is the project state loadable/recoverable?

Structure of generators

Each generator element has 2 basic attibutes:

  • type
    constant for generator type, used for parsing the generator
  • description
    brief generator description in human-readable form

The list of generator-specific elements follow:

  • original_seed
    seed used to initialize the generator at the beginning
  • accumulator_state
    current state of generator specific entropy-holding values
    usually in form of decadic numbers separated by spaces
    • length
      length of the internal accumulator
    • position
      current position in internal accumulator, if needed
  • qrng
    attributes related to quantum random data
    • true_qrng (attribute)
      1: using pre-generated quantum random number data
      0: not using pre-generated data (=> is pseudorandom MD5-based)
    • data_path
      path to pre-generated quantum random number data file, if they are used
    • file_index
      index of the QRND file currently used
  • chance_for_one
    chance of generating one over zero in bias generator (0% - 100%)
  • internal_rng
    internal sub-generator, if one is used (follows general generator structure again)
Clone this wiki locally