#region License Information
/* HeuristicLab
* Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
*
* This file is part of HeuristicLab.
*
* HeuristicLab is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* HeuristicLab is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with HeuristicLab. If not, see .
*/
#endregion
using System;
using System.Collections.Generic;
namespace HeuristicLab.DataPreprocessing {
public interface IManipulationLogic {
IEnumerable VariableNames { get; }
ITransactionalPreprocessingData PreProcessingData { get; }
void ReOrderToIndices(IEnumerable indices);
void ReOrderToIndices(IList> indices);
void ShuffleToIndices(IList> indices);
void ReplaceIndicesByAverageValue(IDictionary> cells, bool considerSelection = false);
void ReplaceIndicesByMedianValue(IDictionary> cells, bool considerSelection = false);
void ReplaceIndicesByMostCommonValue(IDictionary> cells, bool considerSelection = false);
void ReplaceIndicesByRandomValue(IDictionary> cells, bool considerSelection = false);
void ReplaceIndicesByLinearInterpolationOfNeighbours(IDictionary> cells);
void ReplaceIndicesBySmoothing(IDictionary> cells);
void ReplaceIndicesByValue(IDictionary> cells, string value);
void ReplaceIndicesByValue(int columnIndex, IEnumerable rowIndices, T value);
void ShuffleWithRanges();
void ShuffleWithRanges(IEnumerable ranges);
List RowsWithMissingValuesGreater(double percent);
List ColumnsWithMissingValuesGreater(double percent);
List ColumnsWithVarianceSmaller(double variance);
void DeleteRowsWithMissingValuesGreater(double percent);
void DeleteColumnsWithMissingValuesGreater(double percent);
void DeleteColumnsWithVarianceSmaller(double variance);
}
}