Package rrs
RrsDemo #sleela 3.0 (lib/rrs/examples/RrsDemo.sleela)
RrsDemo class
A runnable demo of the rrs package: runs three stages of premises through the ternary 1/0/2 feed-forward, then observes the same run with the signal monitor and reports the potestas culmination. Sibling .sleela files in this package are auto-linked by the runner. Signal/stage ordinals are passed as integer literals (1 = AFFIRM, 0 = ELIMINATE, 2 = POWER_ADD; stage 0/1/2 = conjunctive/responsibility/solidity) because a class static is not reachable through an instance in the checker.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
main | void main() | No description in source. |
SLPackage #sleela 3.0 (lib/rrs/SLPackage.sleela)
SLPackage class
Defines the SLeeLa standard-library package for rrs (Reasonable Responsibility Solidity), the 3-stage congruent feed-forward model over a ternary 1/0/2 signal.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
packageName | String packageName | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String name) | No description in source. |
name | String name() | No description in source. |
available | boolean available() | No description in source. |
SLRrs #sleela 3.0 (lib/rrs/SLRrs.sleela)
SLRrs class
SLeeLa mirror of RRS -- Reasonable Responsibility Solidity (sllmrrs_ in artificial-intelligence/rrs/rrs.h). Three congruent models are chained feed-forward over a ternary signal: 1 = AFFIRM, 0 = ELIMINATE, 2 = POWER_ADD. Stage 1 is conjunctive (strict AND), stage 2 is the reasonable-responsibility prelude, stage 3 is the solidity culmination. RRS subtracts faith: any faith or trial premise is forced to ELIMINATE. It ships no weights; the ternary net is a tiny conjunctive accumulator.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
SIGNAL_ELIMINATE | static final int SIGNAL_ELIMINATE = 0 | No description in source. |
SIGNAL_AFFIRM | static final int SIGNAL_AFFIRM = 1 | No description in source. |
SIGNAL_POWER_ADD | static final int SIGNAL_POWER_ADD = 2 | No description in source. |
STAGE_CONJUNCTIVE | static final int STAGE_CONJUNCTIVE = 0 | sllmrrs_stage. |
STAGE_RESPONSIBILITY | static final int STAGE_RESPONSIBILITY = 1 | No description in source. |
STAGE_SOLIDITY | static final int STAGE_SOLIDITY = 2 | No description in source. |
STAGE_COUNT | static final int STAGE_COUNT = 3 | No description in source. |
POTESTAS_NONE | static final int POTESTAS_NONE = 0 | sllmrrs_potestas: graded warranted capacity-to-continue. |
POTESTAS_PROVISIONAL | static final int POTESTAS_PROVISIONAL = 1 | No description in source. |
POTESTAS_WARRANTED | static final int POTESTAS_WARRANTED = 2 | No description in source. |
STATUS_OK | static final int STATUS_OK = 0 | sllmrrs_status. |
STATUS_INVALID_ARGUMENT | static final int STATUS_INVALID_ARGUMENT = 1 | No description in source. |
STATUS_FAITH_PREMISE | static final int STATUS_FAITH_PREMISE = 2 | No description in source. |
STATUS_NOT_SOLID | static final int STATUS_NOT_SOLID = 3 | No description in source. |
STATUS_RESPONSIBILITY_UNMET | static final int STATUS_RESPONSIBILITY_UNMET = 4 | No description in source. |
STATUS_CAPACITY | static final int STATUS_CAPACITY = 5 | No description in source. |
accPower | int accPower | Per-stage accumulator (sllmrrs_accumulator). |
accAffirmed | int accAffirmed | No description in source. |
accEliminated | int accEliminated | No description in source. |
accConjunction | boolean accConjunction | No description in source. |
totalPower | int totalPower | Result (sllmrrs_result) across the three stages. |
potestas | int potestas | No description in source. |
solid | boolean solid | No description in source. |
faithEliminated | int faithEliminated | No description in source. |
stage0Power | int stage0Power | Per-stage power snapshot kept parallel to STAGE_COUNT. |
stage1Affirmed | int stage1Affirmed | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
effectiveSignal | int effectiveSignal(int stage, int signal, boolean faithOrTrial, | No description in source. |
foldStage | void foldStage(int stage, int[] signals, boolean[] faith, | No description in source. |
feedForward | int feedForward(int[] s1, boolean[] f1, boolean[] r1, int n1, | No description in source. |
getTotalPower | int getTotalPower() | No description in source. |
getPotestas | int getPotestas() | No description in source. |
isSolid | boolean isSolid() | No description in source. |
getFaithEliminated | int getFaithEliminated() | No description in source. |
signalName | String signalName(int signal) | No description in source. |
stageName | String stageName(int stage) | No description in source. |
potestasName | String potestasName(int p) | No description in source. |
statusString | String statusString(int status) | No description in source. |
available | boolean available() | No description in source. |
SLRrsSignalMonitor #sleela 3.0 (lib/rrs/SLRrsSignalMonitor.sleela)
SLRrsSignalMonitor class
SLeeLa mirror of the RRS signal monitor (sllmrm_ in artificial-intelligence/rrs/rrs-signal-monitor/rrs_signal_monitor.h). Read-only observability over the ternary 1/0/2 signal: it re-derives the effective per-premise signal exactly as the fold kernel does, records the elimination reason and running power, and reports per-signal and per-stage tallies with the potestas culmination. It never changes an RRS outcome.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
REASON_NONE | static final int REASON_NONE = 0 | sllmrm_reason: why the effective signal of a premise was an elimination. |
REASON_SIGNALLED_NO | static final int REASON_SIGNALLED_NO = 1 | No description in source. |
REASON_FAITH | static final int REASON_FAITH = 2 | No description in source. |
REASON_RESPONSIBILITY | static final int REASON_RESPONSIBILITY = 3 | No description in source. |
STATUS_OK | static final int STATUS_OK = 0 | sllmrm_status. |
STATUS_INVALID_ARGUMENT | static final int STATUS_INVALID_ARGUMENT = 1 | No description in source. |
STATUS_CAPACITY | static final int STATUS_CAPACITY = 2 | No description in source. |
tallyAffirm | int tallyAffirm | Tally (sllmrm_tally): counts per signal and running power. |
tallyEliminate | int tallyEliminate | No description in source. |
tallyPowerAdd | int tallyPowerAdd | No description in source. |
byReasonSignalledNo | int byReasonSignalledNo | No description in source. |
byReasonFaith | int byReasonFaith | No description in source. |
byReasonResponsibility | int byReasonResponsibility | No description in source. |
totalPower | int totalPower | No description in source. |
potestas | int potestas | No description in source. |
solid | boolean solid | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
resetTally | void resetTally() | No description in source. |
reasonFor | int reasonFor(int stage, int rawSignal, boolean faithOrTrial, | No description in source. |
observeStage | void observeStage(int stage, int[] signals, boolean[] faith, | No description in source. |
recordOutcome | void recordOutcome(SLRrs rrs) | Record the final culmination read off the RRS result. |
getTotalPower | int getTotalPower() | No description in source. |
getTallyAffirm | int getTallyAffirm() | No description in source. |
getTallyEliminate | int getTallyEliminate() | No description in source. |
getTallyPowerAdd | int getTallyPowerAdd() | No description in source. |
reasonName | String reasonName(int reason) | No description in source. |
statusString | String statusString(int status) | No description in source. |
available | boolean available() | No description in source. |