public final class RecommenderInstantiator extends Object
Modifier and Type | Method and Description |
---|---|
static RecommenderInstantiator |
create(DAGNode<Component,Dependency> g) |
static RecommenderInstantiator |
create(DAGNode<Component,Dependency> g,
NodeInstantiator instantiator) |
static RecommenderInstantiator |
forConfig(LenskitConfiguration config)
Deprecated.
|
DAGNode<Component,Dependency> |
getGraph()
Get the graph from this instantiator.
|
DAGNode<Component,Dependency> |
instantiate()
Instantiate the recommender graph.
|
DAGNode<Component,Dependency> |
simulate()
Simulate instantiating a graph.
|
public static RecommenderInstantiator create(DAGNode<Component,Dependency> g)
public static RecommenderInstantiator create(DAGNode<Component,Dependency> g, NodeInstantiator instantiator)
@Deprecated public static RecommenderInstantiator forConfig(LenskitConfiguration config) throws RecommenderConfigurationException
public DAGNode<Component,Dependency> getGraph()
public DAGNode<Component,Dependency> instantiate() throws RecommenderBuildException
LenskitConfiguration.buildGraph()
to get such a graph.RecommenderBuildException
- If there is an error instantiating the graph.public DAGNode<Component,Dependency> simulate() throws RecommenderBuildException
RecommenderBuildException