public interface IDyadRankingPoolProvider extends IActiveLearningPoolProvider<IDyadRankingInstance>
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<Dyad> |
getDyadsByAlternative(ai.libs.jaicore.math.linearalgebra.Vector alternativeFeatures)
Returns the set of all
Dyads with the given Vector of
alternative features. |
java.util.Set<Dyad> |
getDyadsByInstance(ai.libs.jaicore.math.linearalgebra.Vector instanceFeatures)
Returns the set of all
Dyads with the given Vector of
instance features. |
java.util.Collection<ai.libs.jaicore.math.linearalgebra.Vector> |
getInstanceFeatures()
Returns a
Collection that contains all instance features contained in
the pool. |
int |
getPoolSize() |
DyadRankingDataset |
getQueriedRankings() |
void |
setRemoveDyadsWhenQueried(boolean flag) |
getPool, queryjava.util.Set<Dyad> getDyadsByInstance(ai.libs.jaicore.math.linearalgebra.Vector instanceFeatures)
Dyads with the given Vector of
instance features.instanceFeatures - Vector of instance features.Set of dyads with the given Vector of instance
features.java.util.Set<Dyad> getDyadsByAlternative(ai.libs.jaicore.math.linearalgebra.Vector alternativeFeatures)
Dyads with the given Vector of
alternative features.alternativeFeatures - Vector of alternative features.Set of dyads with the given Vector of alternative
features.java.util.Collection<ai.libs.jaicore.math.linearalgebra.Vector> getInstanceFeatures()
Collection that contains all instance features contained in
the pool.Collection that contains all instance features contained in
the pool.void setRemoveDyadsWhenQueried(boolean flag)
int getPoolSize()
DyadRankingDataset getQueriedRankings()