Serializable, Pluginpublic class VisionChannel extends SensoryChannel
| Modifier and Type | Class | Description |
|---|---|---|
(package private) class |
VisionChannel.Prototype |
| Modifier and Type | Field | Description |
|---|---|---|
(package private) int |
cnt_updated |
|
float |
defaultOutputConfidence |
|
(package private) int |
empty_cycles |
|
(package private) boolean |
HadNewInput |
|
(package private) double[][] |
inputs |
|
(package private) boolean |
isEternal |
|
(package private) Term |
label |
|
(package private) VisionChannel.Prototype |
lastPrototype |
|
(package private) Nar |
nar |
|
int |
nPrototypes |
|
EventEmitter.EventObserver |
obs |
|
ArrayList<VisionChannel.Prototype> |
prototypes |
|
(package private) int |
px |
|
(package private) int |
py |
|
(package private) String |
subj |
|
(package private) int |
termid |
|
(package private) boolean[][] |
updated |
duration, height, results, width| Constructor | Description |
|---|---|
VisionChannel(String label,
Reasoner nar,
Reasoner reportResultsTo,
int width,
int height,
int duration,
float defaultOutputConfidence,
int nPrototypes) |
| Modifier and Type | Method | Description |
|---|---|---|
Nar |
addInput(Task t,
Timable time) |
|
boolean |
AddToMatrix(Task t,
Timable time) |
|
void |
resetChannel() |
|
boolean |
setEnabled(Nar n,
boolean enabled) |
called when plugin is activated (enabled = true) / deactivated (enabled=false)
|
void |
setFocus(int px,
int py) |
|
void |
step_start(Timable time) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddInput, getDuration, getHeight, getName, getWidth, priority, setDuration, setHeight, setName, setWidth, step_finished, topDownPrioritypublic volatile float defaultOutputConfidence
public int nPrototypes
public ArrayList<VisionChannel.Prototype> prototypes
double[][] inputs
boolean[][] updated
int cnt_updated
int px
int py
final Term label
final Nar nar
boolean HadNewInput
public final EventEmitter.EventObserver obs
String subj
int empty_cycles
boolean isEternal
int termid
VisionChannel.Prototype lastPrototype
public boolean setEnabled(Nar n, boolean enabled)
Pluginpublic void resetChannel()
resetChannel in class SensoryChannelpublic Nar addInput(Task t, Timable time)
addInput in class SensoryChannelpublic void step_start(Timable time)
step_start in class SensoryChannelpublic void setFocus(int px,
int py)
Copyright © 2020 OpenNARS. All rights reserved.