>Anyone else having any problems with changing a Fredkin to Conway? I
>can't seem to figure out a way to get this done. Any clues?
John and I thought long and hard about this, and we ran into this
problem too. Ultimatly, we decided to make Cell include both Fredkin
and Conway. Thus you could construct objects and such.
Does anyone else have another solution to this?
RonB
--------------------------------------------------
"It is human nature to take shortcuts in thinking"
--------------------------------------------------
CellLife x(100, 50, Cell(new ConwayCell(false));
x.at(50, 50) = Cell(new FredkinCell(true));
Cell's default copy constructor works perfectly.
Try studying HandleClasses1, that's what is being used in this project
Eugene
"Peter Quang Bui" <pete...@cs.utexas.edu> wrote in message
news:pan.2005.04.30....@cs.utexas.edu...