Empirical
Classes | Namespaces
Processor.h File Reference

Processes a LinearCode, updating the provided HardwareState. More...

#include <fstream>
#include <iostream>
#include <map>
#include "../base/array.h"
#include "../base/Ptr.h"
#include "../base/vector.h"
#include "../tools/map_utils.h"
#include "../tools/Random.h"
#include "../tools/string_utils.h"
#include "InstLib.h"

Go to the source code of this file.

Classes

class  emp::Processor< HARDWARE >
 

Namespaces

 emp
 If we are in emscripten, make sure to include the header.
 

Detailed Description

Processes a LinearCode, updating the provided HardwareState.

Note
This file is part of Empirical, https://github.com/devosoft/Empirical
Date
2017
Todo:

Should we save a copy of the original genome? (or create a new "memory" member)

We should clean up how we handle scope; the root scope is zero, so the arg-based scopes are 1-16 (or however many). Right now we increment the value in various places and should be more consistent.

How should Avida-GP organisms take an action? Options include sending ALL outputs and picking the maximum field; sending a single output and using its value; having specialized commands...