[][src]Module radiate::engine::generation

Structs

Container

A container is a simple container to encapsulate a member (Type T) its fitness score for the current generation, and a weak reference counting cell to the species it belongs to

Generation

A generation is meant to facilitate the speciation, crossover, and reproduction of spececies and their types over the course of a single genertion

Type Definitions

Family

A family is a wrapper for a species type which ownes the data it holds. This is needed as there are many references to a species throughout the program

FamilyWeak

the FamilyWeak is meant to mimic the MemberWeak as it is a nonowning family type which allows for multiple bi-directional pointers to the same Niche type in the same memory location

Member

The member type is meant to represent a holder for just the type T, where it has an owning reference counter then wrapped in a ref cell to allow for mutable borrowing of the Rc

MemberWeak

the MemberWeak is meant to be a Nonowning member type pointing to the same memory space but not having the same owning ability of the data