public class MiscFlags extends Object
Modifier and Type | Field | Description |
---|---|---|
static boolean |
DEBUG |
use this for advanced error checking, at the expense of lower performance.
|
static boolean |
DEBUG_BAG |
for thorough bag debugging (slow), requires DEBUG=true
|
static boolean |
DEBUG_SENTENCES |
|
static boolean |
EXECUTION_ERRORS_CONTINUE |
Whether the system should try to continue after the occurrence of an execution error, recommended as they are not always avoidable
|
static boolean |
INPUT_ERRORS_CONTINUE |
Whether the system should continue after an input error, not recommended as it should be handled from outside
|
static boolean |
REASONING_ERRORS_CONTINUE |
Whether the system should try to continue after the occurrence of a reasoning error, recommended as not all cases might be tested
|
static boolean |
SHOW_EXECUTION_ERRORS |
Show execution errors in operators, they ideally should not be hidden, recommended.
|
static boolean |
SHOW_INPUT_ERRORS |
Show input errors, not recommended as the program that uses NARS should handle them by itself
|
static boolean |
SHOW_REASONING_ERRORS |
Show errors in reasoning cycle, they are not fatal but ideally should not be hidden, recommended.
|
static boolean |
TEST |
Set to true by the test system, leave false
|
Constructor | Description |
---|---|
MiscFlags() |
public static boolean SHOW_REASONING_ERRORS
public static boolean REASONING_ERRORS_CONTINUE
public static boolean SHOW_EXECUTION_ERRORS
public static boolean EXECUTION_ERRORS_CONTINUE
public static boolean SHOW_INPUT_ERRORS
public static boolean INPUT_ERRORS_CONTINUE
public static boolean DEBUG
public static final boolean DEBUG_BAG
public static final boolean DEBUG_SENTENCES
public static boolean TEST
Copyright © 2020 OpenNARS. All rights reserved.