Package com.opengamma.engine.depgraph

Examples of com.opengamma.engine.depgraph.DependencyGraphExplorer


      for (WebViewDepGraphGrid depGraphGrid : _depGraphGrids.values()) {
        Object gridStructure = null;
        if (!depGraphGrid.isInit()) {
          String calcConfigName = depGraphGrid.getParentCalcConfigName();
          ValueSpecification valueSpecification = depGraphGrid.getParentValueSpecification();
          DependencyGraphExplorer explorer = cycleReference.get().getCompiledViewDefinition().getDependencyGraphExplorer(calcConfigName);
          DependencyGraph subgraph = explorer.getSubgraphProducing(valueSpecification);
          if (subgraph == null) {
            s_logger.warn("No subgraph producing value specification {}", valueSpecification);
            continue;
          }
          if (depGraphGrid.init(subgraph, calcConfigName, valueSpecification)) {
View Full Code Here


    if (compiledViewDef instanceof CompiledViewDefinitionWithGraphs) {
      viewDef = (CompiledViewDefinitionWithGraphs) compiledViewDef;
    } else {
      viewDef = cycle.getCompiledViewDefinition();
    }
    DependencyGraphExplorer depGraphExplorer = viewDef.getDependencyGraphExplorer(calcConfigName);
    DependencyGraph depGraph = depGraphExplorer.getSubgraphProducing(rootSpec);
    AnalyticsNode node = createNode(rootSpec, depGraph, true);
    _structure = new DependencyGraphGridStructure(node, calcConfigName, requirement, _valueSpecs, _fnNames, targetResolver);
  }
View Full Code Here

  }

  @Override
  public DependencyGraphExplorer getDependencyGraphExplorer(final String calcConfigName) {
    ArgumentChecker.notNull(calcConfigName, "calcConfigName");
    final DependencyGraphExplorer dependencyGraph = _graphsByConfiguration.get(calcConfigName);
    if (dependencyGraph == null) {
      throw new DataNotFoundException("The calculation configuration name " + calcConfigName + " does not exist in the view definition");
    }
    return dependencyGraph;
  }
View Full Code Here

TOP

Related Classes of com.opengamma.engine.depgraph.DependencyGraphExplorer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.