Java-Gaming.org Hi !
 Featured games (83) games approved by the League of Dukes Games in Showcase (582) Games in Android Showcase (163) games submitted by our members Games in WIP (633) games currently in development
 News: Read the Java Gaming Resources, or peek at the official Java tutorials
 Show Posts Pages: [1]
 1 Game Development / Artificial Intelligence / Back propagation algorithm on: 2005-01-23 21:28:04 When using the backpropagation algorithm for training a neural network, what are good values for learning rate and momentum?  Thanks in advance.-Rob
 2 Game Development / Artificial Intelligence / Re: Fuzzy logic operations on: 2005-01-22 06:55:16 Nevermind, I figured it out.  In case anyone's curious:XOR(A, B) = min(max(a, b), 1.0 - min(a,b))
 3 Game Development / Artificial Intelligence / Fuzzy logic operations on: 2005-01-22 04:54:12 Ok, so lemme get this straight:NOT(A) = 1.0 - AAND(A, B) = min(A, B) [but sometimes A * B is used]OR(A, B) = max(A, B) [but sometimes A + B - AND(A, B) is used]If all of that is true...then what's XOR(A, B)?Thanks in advance,Rob
 4 Game Development / Artificial Intelligence / Re: AI and Kohonen Networks on: 2005-01-22 04:52:35 Thanks, but I code my own implementations.  I don't like relying on the code of others, not that it may be faulty, but rather I like the sense of pride I feel after I've finished with a challenging project.
 5 Game Development / Artificial Intelligence / AI and Kohonen Networks on: 2005-01-21 23:33:09 Are there any implications for the use of Kohonen nets as an artificial intelligence device?  Every website mentioning them praises them as super-versatile and super-useful, but I'm looking for an AI-based implication.  Any ideas?Thanks,Rob
6  Discussions / Miscellaneous Topics / Annotation processing on: 2005-01-21 18:58:58
I've been browsing the apt "tutorial" and the com.sun.mirror package and finally figured out how to go through my annotations in my source code.  My only question is...how do I generate a new source file with the adjustments caused by the annotations?

For example, I have an interface Inter with one method: method().  I make an annotation @CallFromMethod to mark methods in a class that should be called from that class' method() method.  I make the appropriate AnnotationProcessor and AnnotationProcessorFactory, and I go through all the @CallFromMethod annotations in a source file.  How do I change this:

 1  2  3  4  5  6  7 `public class SourceTest {     @CallFromMethod     public callMe() {            ...     }}`

into this:

 1  2  3  4  5  6  7  8  9  10 `public class SourceTest implements Inter {    public callMe() {           ...    }    public void method() {            callMe();    }}`

using the apt?  I know the example is stupid, but bear with me and please try to help me out.