/** NodeContainer.h * J Scott Cameron * * Defines a class that contains a single genetic image */ #include "PopulationContainer.h" #include #include class NodeContainer { public: /*Default Contructor */ NodeContainer(); /* parameterized constructor */ NodeContainer(PopulationContainer*, Node*); /* copy constructor */ NodeContainer(NodeContainer*); /* open file constructors*/ NodeContainer(PopulationContainer*, string filename); NodeContainer(PopulationContainer*, string filename,int,int); /* destructor */ ~NodeContainer(); /* changes the size of the image */ void changeSize(int,int); /* updates the image */ void updateMap(); /* saves the Node information to a file */ void save(string filename); /* opens a node from a file*/ Node* open(string filename); /* population container with function info for Node*/ PopulationContainer* pc; /* node */ Node* n; /* bitmap image generated from node */ HBITMAP bitmap; /* size and placement variables */ int width,height; float cx,cy,xscale,yscale; };