Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/265.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 为其实现AVLTree和Node_C#_Avl Tree - Fatal编程技术网

C# 为其实现AVLTree和Node

C# 为其实现AVLTree和Node,c#,avl-tree,C#,Avl Tree,我需要实现一个AVLTree,其中每个节点都是参与者。任何关于如何实现这一点的建议都将非常有帮助,谢谢!我有一个AVLTree什么是工作,但与一个T项目,而不是与整个类。我应该如何修改该树 class Actor { string name, detail; LinkedList<Albume> albumes; //add each property that you want Actor( String name, String detail, Linke

我需要实现一个AVLTree,其中每个节点都是参与者。任何关于如何实现这一点的建议都将非常有帮助,谢谢!我有一个AVLTree什么是工作,但与一个T项目,而不是与整个类。我应该如何修改该树

       class Actor
     {
string name, detail;
LinkedList<Albume> albumes;
//add each property that you want
Actor( String name, String detail, LinkedList<Albume> albumes)
{
    this.name = name;
    this.detail = detail;
    this.albumes = albumes;
}
     }
    class Albume {
string name { get; set; }
string detail { get; set; }

        }
类参与者
{
字符串名称、详细信息;
LinkedList专辑;
//添加所需的每个属性
参与者(字符串名称、字符串详细信息、LinkedList相册)
{
this.name=名称;
this.detail=细节;
this.albumes=相册;
}
}
班级相册{
字符串名称{get;set;}
字符串详细信息{get;set;}
}