All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class BrainWave.PatternSet

java.lang.Object
   |
   +----java.awt.Component
           |
           +----BrainWave.BWObject
                   |
                   +----BrainWave.PatternSet

public class PatternSet
extends BWObject
A PatternSet allows the grouping of objects and allows sets of values to be stored for later instantiation on units, and weights. Many learning algorithms use PatternSets to store the data on which they operate.
Version:
2.0
Author:
Simon Dennis

Constructor Index

 o PatternSet()

Method Index

 o actionPerformed(ActionEvent)
 o addObjectColors()
 o addPattern(String)
 o addPattern(String, Vector)
 o backward()
 o changeObjectColors(Color, Color)
 o CheckSorted()
 o clone()
 o contains(BWObject)
 o create(BWPanel, Point, Boolean)
 o delete()
 o deletePattern(Pattern)
 o drawPS(boolean)
 o fieldsToString()
 o forward()
 o getCurrentPattern()
 o getLabel()
 o getObjects()
 o getPatterns()
 o getPreferredSize()
 o getValue()
 o getWindowSize()
 o HigherThan(BWObject, BWObject)
 o instantiateCurrentPattern()
 o instantiatePattern(Pattern)
 o mouseClicked(MouseEvent)
 o paint(Graphics)
 o reset()
 o SelectButtonOrPattern(int, int)
 o setLabel(String)
 o setObjects(Vector)
 o setPatterns(Vector)
 o setupMenu()
 o setValue(double)
 o setWindowSize(int)
 o showSelectedPS()
 o SortObjects()
 o swap()
 o toString()
 o widthPS()

Constructors

 o PatternSet
 public PatternSet()

Methods

 o clone
 public synchronized Object clone()
Overrides:
clone in class BWObject
 o setPatterns
 public void setPatterns(Vector v)
 o setupMenu
 public void setupMenu()
Overrides:
setupMenu in class BWObject
 o actionPerformed
 public void actionPerformed(ActionEvent evt)
Overrides:
actionPerformed in class BWObject
 o contains
 public boolean contains(BWObject jbo)
 o setValue
 public void setValue(double _Value)
 o getValue
 public double getValue()
 o setWindowSize
 public void setWindowSize(int _Value)
 o getWindowSize
 public int getWindowSize()
 o setLabel
 public void setLabel(String st)
 o setObjects
 public void setObjects(Vector _Objects)
 o getLabel
 public String getLabel()
 o getPatterns
 public Vector getPatterns()
 o getObjects
 public Vector getObjects()
 o create
 public void create(BWPanel bwp,
                    Point p,
                    Boolean bnw)
Overrides:
create in class BWObject
 o delete
 public void delete()
Overrides:
delete in class BWObject
 o toString
 public String toString()
Overrides:
toString in class BWObject
 o fieldsToString
 public String fieldsToString()
Overrides:
fieldsToString in class BWObject
 o reset
 public void reset()
 o forward
 public void forward()
 o backward
 public void backward()
 o mouseClicked
 public void mouseClicked(MouseEvent e)
Overrides:
mouseClicked in class BWObject
 o SelectButtonOrPattern
 public boolean SelectButtonOrPattern(int x,
                                      int y)
 o addPattern
 public void addPattern(String Label)
 o addPattern
 public void addPattern(String st,
                        Vector values)
 o deletePattern
 public void deletePattern(Pattern p)
 o swap
 public void swap()
 o getCurrentPattern
 public Pattern getCurrentPattern()
 o HigherThan
 public boolean HigherThan(BWObject o1,
                           BWObject o2)
 o CheckSorted
 public boolean CheckSorted()
 o SortObjects
 public void SortObjects()
 o addObjectColors
 public void addObjectColors()
 o changeObjectColors
 public void changeObjectColors(Color From,
                                Color To)
 o instantiateCurrentPattern
 public void instantiateCurrentPattern()
 o instantiatePattern
 public void instantiatePattern(Pattern p)
 o getPreferredSize
 public Dimension getPreferredSize()
Overrides:
getPreferredSize in class Component
 o paint
 public void paint(Graphics g)
Overrides:
paint in class Component
 o widthPS
 public String widthPS()
Overrides:
widthPS in class BWObject
 o drawPS
 public String drawPS(boolean BlackAndWhite)
Overrides:
drawPS in class BWObject
 o showSelectedPS
 public String showSelectedPS()
Overrides:
showSelectedPS in class BWObject

All Packages  Class Hierarchy  This Package  Previous  Next  Index