Serializable
, Plugin
public 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, wait
addInput, getDuration, getHeight, getName, getWidth, priority, setDuration, setHeight, setName, setWidth, step_finished, topDownPriority
public 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)
Plugin
public void resetChannel()
resetChannel
in class SensoryChannel
public Nar addInput(Task t, Timable time)
addInput
in class SensoryChannel
public void step_start(Timable time)
step_start
in class SensoryChannel
public void setFocus(int px, int py)
Copyright © 2020 OpenNARS. All rights reserved.