📄 neuralnetevent.java
字号:
package org.joone.engine;import org.joone.net.NeuralNet;/** * Transport class used to notify the events raised from a neural network */public class NeuralNetEvent extends java.util.EventObject { private static final long serialVersionUID = -2307998901508765401L; private NeuralNet nnet; /** * The event constructor * @param source The object generating this event. Normally it is the neural network's Monitor */ public NeuralNetEvent(Monitor source) { super(source); } /** * Getter for the NeuralNet generating this event. * Warning: Use this method ONLY if the event has been raised by * an org.joone.helpers class, otherwise you could get a null value. * @return The neural network generating this event * @since 1.2.2 */ public NeuralNet getNeuralNet() { return nnet; } /** * Setter for the NeuralNet generating this event. * @param nnet The neural network generating this event * @since 1.2.2 */ public void setNeuralNet(NeuralNet nnet) { this.nnet = nnet; } }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -