public final class MealyCaches extends Object
| Modifier and Type | Method and Description |
|---|---|
static <I,O> MealyCacheOracle<I,O> |
createCache(Alphabet<I> alphabet,
MembershipOracle<I,Word<O>> mqOracle)
Creates a cache oracle for a Mealy machine learning setup.
|
static <I,O> MealyCacheOracle<I,O> |
createDAGCache(Alphabet<I> alphabet,
Mapping<? super O,? extends O> errorSyms,
MembershipOracle<I,Word<O>> mqOracle)
Creates a cache oracle for a Mealy machine learning setup, using a DAG for internal cache organization.
|
static <I,O> MealyCacheOracle<I,O> |
createDAGCache(Alphabet<I> alphabet,
MembershipOracle<I,Word<O>> mqOracle)
Creates a cache oracle for a Mealy machine learning setup, using a DAG for internal cache organization.
|
static <I,O> MealyCacheOracle<I,O> |
createDynamicTreeCache(Mapping<? super O,? extends O> errorSyms,
MembershipOracle<I,Word<O>> mqOracle)
Creates a cache oracle for a Mealy machine learning setup with a dynamic alphabet storage, using a tree for
internal cache organization.
|
static <I,O> MealyCacheOracle<I,O> |
createDynamicTreeCache(MembershipOracle<I,Word<O>> mqOracle)
Creates a cache oracle for a Mealy machine learning setup with a dynamic alphabet storage, using a tree for
internal cache organization.
|
static <I,O> MealyCacheOracle<I,OutputAndLocalInputs<I,O>> |
createStateLocalInputTreeCache(Collection<I> initialLocalInputs,
Mapping<? super OutputAndLocalInputs<I,O>,? extends OutputAndLocalInputs<I,O>> errorSyms,
MembershipOracle<I,Word<OutputAndLocalInputs<I,O>>> mqOracle)
Creates a cache oracle for a Mealy machine learning setup with observable state local inputs for every state of
the system under learning.
|
static <I,O> StateLocalInputMealyCacheOracle<I,O> |
createStateLocalInputTreeCache(Collection<I> initialLocalInputs,
Mapping<? super OutputAndLocalInputs<I,O>,? extends OutputAndLocalInputs<I,O>> errorSyms,
StateLocalInputOracle<I,Word<OutputAndLocalInputs<I,O>>> mqOracle)
A variation of
createStateLocalInputTreeCache(Collection, MembershipOracle) that returns a StateLocalInputMealyCacheOracle. |
static <I,O> MealyCacheOracle<I,OutputAndLocalInputs<I,O>> |
createStateLocalInputTreeCache(Collection<I> initialLocalInputs,
MembershipOracle<I,Word<OutputAndLocalInputs<I,O>>> mqOracle)
Creates a cache oracle for a Mealy machine learning setup with observable state local inputs for every state of
the system under learning.
|
static <I,O> StateLocalInputMealyCacheOracle<I,O> |
createStateLocalInputTreeCache(Collection<I> initialLocalInputs,
StateLocalInputOracle<I,Word<OutputAndLocalInputs<I,O>>> mqOracle)
A variation of
createStateLocalInputTreeCache(Collection, MembershipOracle) that returns a StateLocalInputMealyCacheOracle. |
static <I,O> MealyCacheOracle<I,O> |
createTreeCache(Alphabet<I> alphabet,
Mapping<? super O,? extends O> errorSyms,
MembershipOracle<I,Word<O>> mqOracle)
Creates a cache oracle for a Mealy machine learning setup, using a tree for internal cache organization.
|
static <I,O> MealyCacheOracle<I,O> |
createTreeCache(Alphabet<I> alphabet,
MembershipOracle<I,Word<O>> mqOracle)
Creates a cache oracle for a Mealy machine learning setup, using a tree for internal cache organization.
|
public static <I,O> MealyCacheOracle<I,O> createDAGCache(Alphabet<I> alphabet, MembershipOracle<I,Word<O>> mqOracle)
alphabet - the input alphabetmqOracle - the membership oraclepublic static <I,O> MealyCacheOracle<I,O> createDAGCache(Alphabet<I> alphabet, Mapping<? super O,? extends O> errorSyms, MembershipOracle<I,Word<O>> mqOracle)
alphabet - the input alphabeterrorSyms - a mapping for the prefix-closure filtermqOracle - the membership oraclepublic static <I,O> MealyCacheOracle<I,O> createTreeCache(Alphabet<I> alphabet, MembershipOracle<I,Word<O>> mqOracle)
alphabet - the input alphabetmqOracle - the membership oraclepublic static <I,O> MealyCacheOracle<I,O> createTreeCache(Alphabet<I> alphabet, Mapping<? super O,? extends O> errorSyms, MembershipOracle<I,Word<O>> mqOracle)
alphabet - the input alphabeterrorSyms - a mapping for the prefix-closure filtermqOracle - the membership oraclepublic static <I,O> MealyCacheOracle<I,O> createDynamicTreeCache(MembershipOracle<I,Word<O>> mqOracle)
Note: Due to the dynamic alphabet storage, memory consumption of a dense tree may be higher than normal caches with a predefined alphabet. However, for sparse data, the memory consumption may be lower as only memory for the actual data of the tree is allocated.
mqOracle - the membership oraclepublic static <I,O> MealyCacheOracle<I,O> createDynamicTreeCache(Mapping<? super O,? extends O> errorSyms, MembershipOracle<I,Word<O>> mqOracle)
Note: Due to the dynamic alphabet storage, memory consumption of a dense tree may be higher than normal caches with a predefined alphabet. However, for sparse data, the memory consumption may be lower as only memory for the actual data of the tree is allocated.
errorSyms - a mapping for the prefix-closure filtermqOracle - the membership oraclepublic static <I,O> MealyCacheOracle<I,OutputAndLocalInputs<I,O>> createStateLocalInputTreeCache(Collection<I> initialLocalInputs, MembershipOracle<I,Word<OutputAndLocalInputs<I,O>>> mqOracle)
initialLocalInputs - a collection of input symbols that can be executed in the initial state of the system under learningmqOracle - the membership oraclepublic static <I,O> MealyCacheOracle<I,OutputAndLocalInputs<I,O>> createStateLocalInputTreeCache(Collection<I> initialLocalInputs, Mapping<? super OutputAndLocalInputs<I,O>,? extends OutputAndLocalInputs<I,O>> errorSyms, MembershipOracle<I,Word<OutputAndLocalInputs<I,O>>> mqOracle)
initialLocalInputs - a collection of input symbols that can be executed in the initial state of the system under learningerrorSyms - a mapping for the prefix-closure filtermqOracle - the membership oraclepublic static <I,O> StateLocalInputMealyCacheOracle<I,O> createStateLocalInputTreeCache(Collection<I> initialLocalInputs, StateLocalInputOracle<I,Word<OutputAndLocalInputs<I,O>>> mqOracle)
createStateLocalInputTreeCache(Collection, MembershipOracle) that returns a StateLocalInputMealyCacheOracle.initialLocalInputs - a collection of input symbols that can be executed in the initial state of the system under learningmqOracle - the membership oraclepublic static <I,O> StateLocalInputMealyCacheOracle<I,O> createStateLocalInputTreeCache(Collection<I> initialLocalInputs, Mapping<? super OutputAndLocalInputs<I,O>,? extends OutputAndLocalInputs<I,O>> errorSyms, StateLocalInputOracle<I,Word<OutputAndLocalInputs<I,O>>> mqOracle)
createStateLocalInputTreeCache(Collection, MembershipOracle) that returns a StateLocalInputMealyCacheOracle.initialLocalInputs - a collection of input symbols that can be executed in the initial state of the system under learningerrorSyms - a mapping for the prefix-closure filtermqOracle - the membership oraclepublic static <I,O> MealyCacheOracle<I,O> createCache(Alphabet<I> alphabet, MembershipOracle<I,Word<O>> mqOracle)
Note that this method does not specify the implementation to use for the cache. Currently, a DAG (IncrementalMealyDAGBuilder) is used; however, this may change in the future.
alphabet - the input alphabetmqOracle - the membership oracleCopyright © 2019. All rights reserved.