Package com.opengamma.engine.depgraph

Examples of com.opengamma.engine.depgraph.DependencyNode.addOutputValue()


    ComputationTarget target = new ComputationTarget(targetSpecification, Currency.USD);

    DependencyNode yieldCurveNode = new DependencyNode(targetSpecification);
    yieldCurveNode.setFunction(new MockFunction(target));
    yieldCurveNode.addOutputValue(new ValueSpecification(
        "YieldCurve",
        targetSpecification,
        ValueProperties.builder().with("Curve", "Forward3M").with("Function", "someFunction").get()));

    graph.addDependencyNode(yieldCurveNode);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.