On Feb 9, 2007, at 10:48 AM, Nick Apperson wrote:
What type of data are you trying to serialize or rather store to disk? Do you have pointers in the data. Don't tell me you don't have pointers just because it is java.
I wouldn't dream of it. Java has pointers and I use the hell out of 'em.
Java has pointers, it just preteneds it doesn't. Show us the datastructure and we can probably help you more. If each entry has no pointers than your task should be pretty straightforward. If you do have them, you are going to need to find a way to store those so that they are able to be redetermined.
Java's serialization mechanism does this automagically.
In a language like java, where you can't do pointer arithmetic or anything of the sort this can get rather difficult. Also, have you considered using a database instead of a flat file to store this data?
I'm going to try Terry's idea of storing individual Nodes instead of storing the entire Node pool. Stay tuned...
Peter Drake Assistant Professor of Computer Science Lewis & Clark College http://www.lclark.edu/~drake/ _______________________________________________ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/