Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/04/08 18:41:04 (16 years ago)
Author:
gkronber
Message:

improved operators to write items to the DB and added two operators to extract items from the DB and add them as variables. ticket #261 (Items are stored multiple times in the result entries in the CEDMA DB)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.CEDMA.Operators/MakeStatement.cs

    r538 r542  
    3939    public MakeStatement()
    4040      : base() {
    41       AddVariableInfo(new VariableInfo("AgentId", "Id of the agent to extract injected variables from.", typeof(IntData), VariableKind.In));
    4241      AddVariableInfo(new VariableInfo("CedmaServerUri", "Uri of the CEDMA server", typeof(StringData), VariableKind.In));
    4342      AddVariableInfo(new VariableInfo("Subject", "", typeof(IItem), VariableKind.In));
     
    4847    public override IOperation Apply(IScope scope) {
    4948      string serverUrl = GetVariableValue<StringData>("CedmaServerUri", scope, true).Data;
    50       long agentId = GetVariableValue<IntData>("AgentId", scope, true).Data;
    5149      IItem subject = GetVariableValue<IItem>("Subject", scope, true);
    5250      IItem predicate = GetVariableValue<IItem>("Predicate", scope, true);
Note: See TracChangeset for help on using the changeset viewer.