#region License Information /* HeuristicLab * Copyright (C) 2002-2013 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 { void ReOrderToIndices(IEnumerable indices); void ReOrderToIndices(IList> indices); void ShuffleToIndices(IList> indices); void ReplaceIndicesByAverageValue(IDictionary> cells, bool considerSelection); void ReplaceIndicesByLinearInterpolationOfNeighbours(IDictionary> cells); void ReplaceIndicesByMedianValue(IDictionary> cells, bool considerSelection); void ReplaceIndicesByMostCommonValue(IDictionary> cells, bool considerSelection); void ReplaceIndicesByRandomValue(IDictionary> cells, bool considerSelection); 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); event DataPreprocessingChangedEventHandler Changed; } }