| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| namespace AIMA.Utility | |
| { | |
| public class LinkedHashSet<T> : ISet<T> | |
| { | |
| private readonly IDictionary<T, LinkedListNode<T>> _keyValuePairs; | |
| private readonly LinkedList<T> _linkList; | |
| public LinkedHashSet(int initialCapacity) | |
| { | |
| _keyValuePairs = new Dictionary<T, LinkedListNode<T>>(initialCapacity); | |
| _linkList = new LinkedList<T>(); | |
| } | |
| public LinkedHashSet() | |
| { | |
| _keyValuePairs = new Dictionary<T, LinkedListNode<T>>(); | |
| _linkList = new LinkedList<T>(); | |
| } | |
| public int Count => throw new NotImplementedException(); | |
| public bool IsReadOnly => throw new NotImplementedException(); | |
| public bool Add(T item) | |
| { | |
| throw new NotImplementedException(); | |
| } | |
| public void Clear() | |
| { | |
| throw new NotImplementedException(); | |
| } | |
| public bool Contains(T item) | |
| { | |
| throw new NotImplementedException(); | |
| } | |
| public void CopyTo(T[] array, int arrayIndex) | |
| { | |
| throw new NotImplementedException(); | |
| } | |
| public void ExceptWith(IEnumerable<T> other) | |
| { | |
| throw new NotImplementedException(); | |
| } | |
| public IEnumerator<T> GetEnumerator() | |
| { | |
| throw new NotImplementedException(); | |
| } | |
| public void IntersectWith(IEnumerable<T> other) | |
| { | |
| throw new NotImplementedException(); | |
| } | |
| public bool IsProperSubsetOf(IEnumerable<T> other) | |
| { | |
| throw new NotImplementedException(); | |
| } | |
| public bool IsProperSupersetOf(IEnumerable<T> other) | |
| { | |
| throw new NotImplementedException(); | |
| } | |
| public bool IsSubsetOf(IEnumerable<T> other) | |
| { | |
| throw new NotImplementedException(); | |
| } | |
| public bool IsSupersetOf(IEnumerable<T> other) | |
| { | |
| throw new NotImplementedException(); | |
| } | |
| public bool Overlaps(IEnumerable<T> other) | |
| { | |
| throw new NotImplementedException(); | |
| } | |
| public bool Remove(T item) | |
| { | |
| throw new NotImplementedException(); | |
| } | |
| public bool SetEquals(IEnumerable<T> other) | |
| { | |
| throw new NotImplementedException(); | |
| } | |
| public void SymmetricExceptWith(IEnumerable<T> other) | |
| { | |
| throw new NotImplementedException(); | |
| } | |
| public void UnionWith(IEnumerable<T> other) | |
| { | |
| throw new NotImplementedException(); | |
| } | |
| void ICollection<T>.Add(T item) | |
| { | |
| throw new NotImplementedException(); | |
| } | |
| IEnumerator IEnumerable.GetEnumerator() | |
| { | |
| throw new NotImplementedException(); | |
| } | |
| } | |
| } | |