-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from mbuchetics/rename-intervaltree
Renamed project from RangeTree to IntervalTree
- Loading branch information
Showing
28 changed files
with
737 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System; | ||
using IntervalTree; | ||
|
||
namespace RangeTree | ||
{ | ||
/// <summary> | ||
/// The standard interval tree implementation. Keeps a root node and forwards all queries to it. | ||
/// Whenever new items are added or items are removed, the tree goes temporarily "out of sync", which means that the | ||
/// internal index is not updated immediately, but upon the next query operation. | ||
/// </summary> | ||
/// <typeparam name="TKey">The type of the range.</typeparam> | ||
/// <typeparam name="TValue">The type of the data items.</typeparam> | ||
[Obsolete("This interface has been renamed to IIntervalTree. Please switch to that interface. Starting with version 3.0.0, this interface will be removed.")] | ||
public interface IRangeTree<TKey, TValue> : IIntervalTree<TKey, TValue> | ||
{ | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using IntervalTree; | ||
|
||
namespace RangeTree | ||
{ | ||
[Obsolete("This class has been renamed to IntervalTree. Please switch to that class. Starting with version 3.0.0, this class will be removed.")] | ||
public class RangeTree<TKey, TValue> : IntervalTree<TKey, TValue>, IRangeTree<TKey, TValue> | ||
{ | ||
public RangeTree() | ||
{ | ||
} | ||
|
||
public RangeTree(IComparer<TKey> comparer) : base(comparer) | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using IntervalTree; | ||
|
||
namespace RangeTree | ||
{ | ||
[Obsolete("This class has been renamed to IntervalTreeNode. Please switch to that class. Starting with version 3.0.0, this class will be removed.")] | ||
internal class RangeTreeNode<TKey, TValue> : IntervalTreeNode<TKey, TValue> | ||
{ | ||
public RangeTreeNode(IComparer<TKey> comparer) : base(comparer) | ||
{ | ||
} | ||
|
||
public RangeTreeNode(IList<IntervalTree.RangeValuePair<TKey, TValue>> items, IComparer<TKey> comparer) : base(items, comparer) | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.