Empirical
Classes | Namespaces
World_iterator.h File Reference

This file defines iterators for use with emp::World objects. More...

#include "../base/Ptr.h"

Go to the source code of this file.

Classes

class  emp::World_iterator< WORLD >
 

Namespaces

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

Detailed Description

This file defines iterators for use with emp::World objects.

Note
This file is part of Empirical, https://github.com/devosoft/Empirical
Date
2017-2018
Note
Originally called PopulationIterator.h
Todo:

Add a const interator.

Currently we do MakeValid after every change AND before many accesses. Pick one?

Fix operator-- which can go off of the beginnig of the world.