Max said:
Is there an easy way to convert code from NetLogo to Java? If so, what
is it? I've been using NetLogo for a few years, and would alike to be
able to re-use at least some of my old code in Java.
No. They are nearly as different as Shakespeare and Algebra.
Moreover, Java is a much worse language than NetLogo to write the sort
of program that NetLogo is designed for. Why buy a forest and cut down
the trees in it to build your house with when you can buy pre-cut lumber?
However, because NetLogo is written in Java, and they provide an API,
you can use Java /with/ NetLogo, if you need to write a program that
combines the sort of thing that NetLogo does with some bits that are
awkward or impractical in that language.
--
John W. Kennedy
"Give up vows and dogmas, and fixed things, and you may grow like That.
....you may come to think a blow bad, because it hurts, and not because
it humiliates. You may come to think murder wrong, because it is
violent, and not because it is unjust."
-- G. K. Chesterton. "The Ball and the Cross"
* TagZilla 0.066 *
http://tagzilla.mozdev.org