Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Fredkin to Conway Problems

4 views
Skip to first unread message

Peter Quang Bui

unread,
Apr 30, 2005, 1:28:11 PM4/30/05
to
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?

Ron Blancarte

unread,
Apr 30, 2005, 6:38:16 PM4/30/05
to
Peter Quang Bui used 100% recycled electrons to write:

>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"
--------------------------------------------------

JJ

unread,
May 1, 2005, 5:31:16 PM5/1/05
to
I don't think we need to do anything at all.
try

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...

0 new messages