Modifier and Type | Method and Description |
---|---|
static Set<StandardPredicate> |
DataLoader.load(DataStore dataStore,
String path,
boolean useIntIds) |
Modifier and Type | Method and Description |
---|---|
Set<StandardPredicate> |
DataStore.getRegisteredPredicates()
Returns the set of StandardPredicates registered with this DataStore.
|
Modifier and Type | Method and Description |
---|---|
int |
Database.countAllGroundAtoms(StandardPredicate predicate) |
int |
ReadableDatabase.countAllGroundAtoms(StandardPredicate predicate)
Get a count of all the ground atoms for a predicate.
|
abstract int |
Database.countAllGroundAtoms(StandardPredicate predicate,
List<Integer> partitions) |
int |
Database.countAllGroundRandomVariableAtoms(StandardPredicate predicate) |
int |
ReadableDatabase.countAllGroundRandomVariableAtoms(StandardPredicate predicate)
Get a count of all the ground RandomVariableAtoms for a predicate.
|
List<GroundAtom> |
Database.getAllGroundAtoms(StandardPredicate predicate) |
List<GroundAtom> |
ReadableDatabase.getAllGroundAtoms(StandardPredicate predicate)
Fetch all the ground atoms for a predicate.
|
abstract List<GroundAtom> |
Database.getAllGroundAtoms(StandardPredicate predicate,
List<Integer> partitions) |
List<ObservedAtom> |
Database.getAllGroundObservedAtoms(StandardPredicate predicate) |
List<ObservedAtom> |
ReadableDatabase.getAllGroundObservedAtoms(StandardPredicate predicate)
Fetch all the ground ObservedAtoms for a predicate.
|
List<RandomVariableAtom> |
Database.getAllGroundRandomVariableAtoms(StandardPredicate predicate) |
List<RandomVariableAtom> |
ReadableDatabase.getAllGroundRandomVariableAtoms(StandardPredicate predicate)
Fetch all the ground RandomVariableAtoms for a predicate.
|
abstract GroundAtom |
Database.getAtom(StandardPredicate predicate,
boolean create,
Constant... arguments) |
Inserter |
DataStore.getInserter(StandardPredicate predicate,
Partition partition)
Creates an Inserter for persisting new
GroundAtoms
in a Partition . |
boolean |
Database.hasAtom(StandardPredicate predicate,
Constant... arguments) |
boolean |
ReadableDatabase.hasAtom(StandardPredicate predicate,
Constant... arguments)
Check to see if a ground atom exists in the database.
|
boolean |
ReadableDatabase.isClosed(StandardPredicate predicate)
Returns whether a StandardPredicate is closed in this Database.
|
void |
WritableDatabase.moveToWritePartition(StandardPredicate predicate,
int oldPartitionId)
Move all ground atoms of a predicate/partition combination into
the write partition.
|
void |
DatabasePopulator.populateFromDB(Database sourceDB,
StandardPredicate p)
|
void |
DataStore.registerPredicate(StandardPredicate predicate)
Registers a StandardPredicate so that
GroundAtoms of that
StandardPredicate can be persisted in this DataStore. |
Modifier and Type | Method and Description |
---|---|
Database |
DataStore.getDatabase(Partition write,
Set<StandardPredicate> toClose,
Partition... read)
Creates a Database that can read from and write to a
Partition and
optionally read from additional Partitions. |
Modifier and Type | Method and Description |
---|---|
boolean |
AtomManager.isClosed(StandardPredicate predicate)
Calls
ReadableDatabase.isClosed(StandardPredicate) on the
encapsulated Database. |
Modifier and Type | Method and Description |
---|---|
Set<StandardPredicate> |
RDBMSDataStore.getRegisteredPredicates() |
Modifier and Type | Method and Description |
---|---|
int |
RDBMSDatabase.countAllGroundAtoms(StandardPredicate predicate,
List<Integer> partitions) |
List<GroundAtom> |
RDBMSDatabase.getAllGroundAtoms(StandardPredicate predicate,
List<Integer> partitions) |
GroundAtom |
RDBMSDatabase.getAtom(StandardPredicate predicate,
boolean create,
Constant... arguments) |
Inserter |
RDBMSDataStore.getInserter(StandardPredicate predicate,
Partition partition) |
int |
RDBMSDataStore.getPredicateRowCount(StandardPredicate predicate) |
boolean |
RDBMSDatabase.isClosed(StandardPredicate predicate) |
void |
RDBMSDatabase.moveToWritePartition(StandardPredicate predicate,
int oldPartitionId) |
void |
RDBMSDataStore.registerPredicate(StandardPredicate predicate) |
Modifier and Type | Method and Description |
---|---|
Database |
RDBMSDataStore.getDatabase(Partition write,
Set<StandardPredicate> toClose,
Partition... read) |
Constructor and Description |
---|
RDBMSDatabase(RDBMSDataStore parent,
Partition write,
Partition[] read,
Set<StandardPredicate> closed) |
Modifier and Type | Method and Description |
---|---|
void |
Evaluator.compute(Database rvDB,
Database truthDB,
StandardPredicate predicate)
A convenience call for those who don't want to create a training map directly.
|
void |
ContinuousEvaluator.compute(TrainingMap trainingMap,
StandardPredicate predicate) |
void |
CategoricalEvaluator.compute(TrainingMap trainingMap,
StandardPredicate predicate) |
abstract void |
Evaluator.compute(TrainingMap data,
StandardPredicate predicate)
One of the main computation method.
|
void |
DiscreteEvaluator.compute(TrainingMap trainingMap,
StandardPredicate predicate) |
void |
RankingEvaluator.compute(TrainingMap trainingMap,
StandardPredicate predicate) |
Modifier and Type | Method and Description |
---|---|
StandardPredicate |
RandomVariableAtom.getPredicate() |
Modifier and Type | Method and Description |
---|---|
RandomVariableAtom |
AtomCache.instantiateRandomVariableAtom(StandardPredicate predicate,
Constant[] args,
double value)
Instantiates a RandomVariableAtom and stores it in this AtomCache.
|
Constructor and Description |
---|
RandomVariableAtom(StandardPredicate p,
Constant[] args,
Database db,
double value) |
Modifier and Type | Method and Description |
---|---|
static StandardPredicate |
StandardPredicate.get(String name)
The an existing standard predicate (or null if none with this name exists).
|
static StandardPredicate |
StandardPredicate.get(String name,
ConstantType... types)
Get a predicate if one already exists, othereise create a new one.
|
Copyright © 2018 University of California, Santa Cruz. All rights reserved.