Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2284 for trunk


Ignore:
Timestamp:
08/13/09 14:45:40 (15 years ago)
Author:
mkommend
Message:

removed sparse in naming of SparseMatrix and SparseMatrixRow
because of a name clash with the surrounding namespace (ticket #701)

Location:
trunk/sources/HeuristicLab.SparseMatrix/3.2
Files:
1 edited
2 moved

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.SparseMatrix/3.2/HeuristicLab.SparseMatrix-3.2.csproj

    r2283 r2284  
    8282    <Compile Include="HeuristicLabSparseMatrixPlugin.cs" />
    8383    <Compile Include="Properties\AssemblyInfo.cs" />
    84     <Compile Include="SparseMatrix.cs" />
    85     <Compile Include="SparseMatrixRow.cs" />
     84    <Compile Include="Matrix.cs" />
     85    <Compile Include="MatrixRow.cs" />
    8686  </ItemGroup>
    8787  <ItemGroup>
  • trunk/sources/HeuristicLab.SparseMatrix/3.2/Matrix.cs

    r2283 r2284  
    2525
    2626namespace HeuristicLab.SparseMatrix {   
    27   public class SparseMatrix : ItemBase {
    28     public SparseMatrix() {
    29       this.rows = new List<SparseMatrixRow>();
     27  public class Matrix : ItemBase {
     28    public Matrix() {
     29      this.rows = new List<MatrixRow>();
    3030    }
    3131
    32     public SparseMatrix(IEnumerable<SparseMatrixRow> rows)
     32    public Matrix(IEnumerable<MatrixRow> rows)
    3333      : this() {
    3434      this.rows.AddRange(rows);
    3535    }
    3636
    37     private List<SparseMatrixRow> rows;
    38     public ReadOnlyCollection<SparseMatrixRow> GetRows() {
     37    private List<MatrixRow> rows;
     38    public ReadOnlyCollection<MatrixRow> GetRows() {
    3939      return rows.AsReadOnly();
    4040    }
    4141
    42     public void AddRow(SparseMatrixRow row) {
     42    public void AddRow(MatrixRow row) {
    4343      this.rows.Add(row);
    4444    }
    4545
    46     public void RemoveRow(SparseMatrixRow row) {
     46    public void RemoveRow(MatrixRow row) {
    4747      this.rows.Remove(row);
    4848    }
  • trunk/sources/HeuristicLab.SparseMatrix/3.2/MatrixRow.cs

    r2283 r2284  
    2323
    2424namespace HeuristicLab.SparseMatrix {
    25   public class SparseMatrixRow {
     25  public class MatrixRow {
    2626    private Dictionary<string, object> values;
    27     public SparseMatrixRow() {
     27    public MatrixRow() {
    2828      values = new Dictionary<string, object>();
    2929    }
Note: See TracChangeset for help on using the changeset viewer.