Documentation of 'org.joone.io.MemoryOutputSynapse' Java class
MemoryOutputSynapse
org.joone.io

Class MemoryOutputSynapse

    • Constructor Detail

      • MemoryOutputSynapse

        public MemoryOutputSynapse()
        Creates a new instance of MemoryOutputSynapse
    • Method Detail

      • getLastPattern

        public double[] getLastPattern()
        This method waits for the zeroPattern and returns the last valid pattern received
        Returns:
        the last pattern received
      • getNextPattern

        public double[] getNextPattern()
        Waits for the next pattern and returns it
        Returns:
        the next pattern
      • getAllPatterns

        public java.util.Vector getAllPatterns()
        Waits for the stopPattern and then returns all the patterns received in the last cycle
        Returns:
        all the patterns received in the last cycle
      • write

        public void write(Pattern pattern)
        Custom Synapses need to implement at least this method. The custom synapse should write the pattern out to the appropriate media. All patterns including the ending pattern with pattern.getCount()=-1 will be passed to this method so that custom output synapses can perform final processing.
        Specified by:
        write in class StreamOutputSynapse

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.