private static ICheckedItemList <StringValue> CreateVariableItemList(IPreprocessingData preprocessingData) { ICheckedItemList <StringValue> itemList = new CheckedItemList <StringValue>(); foreach (string name in preprocessingData.GetDoubleVariableNames()) { var n = new StringValue(name); bool isInputTarget = preprocessingData.InputVariables.Contains(name) || preprocessingData.TargetVariable == name; itemList.Add(n, isInputTarget); } return(new ReadOnlyCheckedItemList <StringValue>(itemList)); }
public IEnumerable <string> GetDoubleVariableNames() { return(originalData.GetDoubleVariableNames()); }