/** * Simulate instantiating a graph. * @return The simulated graph. */ public DAGNode<Component,Dependency> simulate() throws RecommenderBuildException { try { return replaceShareableNodes(NodeProcessors.simulateInstantiation()); } catch (InjectionException e) { throw new RecommenderBuildException("Simulated instantiation failed", e); } }
/** * Simulate instantiating a graph. * @return The simulated graph. */ public DAGNode<Component,Dependency> simulate() throws RecommenderBuildException { try { return replaceShareableNodes(NodeProcessors.simulateInstantiation()); } catch (InjectionException e) { throw new RecommenderBuildException("Simulated instantiation failed", e); } }