Click here to Skip to main content
15,885,546 members
Articles / Programming Languages / C#

Treaps in C#

Rate me:
Please Sign up or sign in to vote.
4.38/5 (15 votes)
15 Sep 2004CPOL4 min read 84.7K   1.2K   40  
A Treap implementation in C#.
///<summary>
/// The TreapException class distinguishes treap exceptions from .NET
/// exceptions. It notifies the caller that an exception has occurred in the
/// treap class.
///</summary>
using System;

namespace TreapCS
{
	public class TreapException : Exception
	{
		public TreapException()
        {
    	}
			
		public TreapException(string msg) : base(msg) 
        {
		}			
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
United States United States
Roy is a software developer who digs all aspects of software development, from design and architecture to implementation.

Comments and Discussions