mirror of
https://github.com/Lendaia/oe-alga-feladatok.git
synced 2026-04-23 04:16:32 +01:00
literally nothing
This commit is contained in:
40
ALGA/05_BinarisKeresoFa.cs
Normal file
40
ALGA/05_BinarisKeresoFa.cs
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace OE.ALGA;
|
||||||
|
|
||||||
|
public class FaElem<T> where T : IComparable
|
||||||
|
{
|
||||||
|
public T tart;
|
||||||
|
public FaElem<T>? bal;
|
||||||
|
public FaElem<T>? jobb;
|
||||||
|
|
||||||
|
public FaElem(T tart, FaElem<T>? bal, FaElem<T>? jobb)
|
||||||
|
{
|
||||||
|
this.tart = tart;
|
||||||
|
this.bal = bal;
|
||||||
|
this.jobb = jobb;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public class FaHalmaz<T> : Halmaz<T> where T : IComparable
|
||||||
|
{
|
||||||
|
FaElem<T>? gyoker;
|
||||||
|
public void Bejar(Action<T> muvelet)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Beszur(T ertek)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool Eleme(T ertek)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Torol(T ertek)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user