Package | Description |
---|---|
org.opennars.control | |
org.opennars.entity |
Data entities that are independently stored
|
Modifier and Type | Field | Description |
---|---|---|
protected Stamp |
DerivationContext.newStamp |
Modifier and Type | Method | Description |
---|---|---|
Stamp |
DerivationContext.StampBuilder.build() |
|
Stamp |
DerivationContext.getNewStamp() |
|
Stamp |
DerivationContext.getTheNewStamp() |
|
Stamp |
DerivationContext.setTheNewStamp(Stamp newStamp) |
Modifier and Type | Method | Description |
---|---|---|
void |
DerivationContext.setNewStamp(Stamp newStamp) |
|
Stamp |
DerivationContext.setTheNewStamp(Stamp newStamp) |
|
void |
DerivationContext.setTheNewStamp(Stamp first,
Stamp second,
long time) |
creates a lazy/deferred StampBuilder which only constructs the stamp if getTheNewStamp() is actually invoked
|
Modifier and Type | Field | Description |
---|---|---|
Stamp |
Sentence.stamp |
Partial record of the derivation path
|
Modifier and Type | Method | Description |
---|---|---|
Stamp |
Stamp.clone() |
Clone a stamp
|
Stamp |
Stamp.cloneWithNewOccurrenceTime(long newOcurrenceTime) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
Stamp.after(Stamp s,
int duration) |
|
static boolean |
Stamp.baseOverlap(Stamp a,
Stamp b) |
Detects evidental base overlaps
|
boolean |
Stamp.before(Stamp s,
int duration) |
|
boolean |
Stamp.equals(Stamp s,
boolean creationTime,
boolean ocurrenceTime,
boolean evidentialBase) |
Check if two stamps contains the same types of content
|
Constructor | Description |
---|---|
Sentence(T term,
char punctuation,
TruthValue newTruth,
Stamp newStamp) |
|
Sentence(T _content,
char punctuation,
TruthValue truth,
Stamp stamp,
boolean normalize) |
Create a Sentence with the given fields
|
Stamp(Stamp old) |
Generate a new stamp identical with a given one
|
Stamp(Stamp old,
long creationTime) |
Generate a new stamp from an existing one, with the same evidentialBase
but different creation time
|
Stamp(Stamp old,
long creationTime,
Stamp useEvidentialBase) |
|
Stamp(Stamp first,
Stamp second,
long time,
Parameters narParameters) |
Generate a new stamp for derived sentence by merging the two from parents
the first one is no shorter than the second
|
Copyright © 2020 OpenNARS. All rights reserved.