Skip to content
Snippets Groups Projects
Commit b814c420 authored by Loic Scoth's avatar Loic Scoth
Browse files

initialisation des classes

parent edd064af
No related branches found
No related tags found
No related merge requests found
class Btree() : class Btree() :
def __init__(self,size,string) : def __init__(self,name,root) :
self.size=size self.name=name
self.string=string self.root=root
#def search() : #def search() :
#def insertion(): #def insertion():
#def createNode() :
#def delete() : #def delete() :
#def linear() : #def linear() :
#def createTree() : #def createTree() :
#def height() : #def height() :
#def isArbre() : #def isArbre() :
\ No newline at end of file #def getNbKeys () :
#def getSize () :
#def changeRoot() :
#def isEqual() :
\ No newline at end of file
class node() : class node() :
def __init__(self,size,keys,child,leaf) : def __init__(self,keys,child,kmin,kmax) :
self.size=size
self.keys=keys self.keys=keys
self.child=child self.child=child
self.leaf=leaf self.kmin=kmin
self.kmax=kmax
#def getSize() : #def getSizeNode() :
#def getPos() : #def getPos() :
#def setNew() : #def setNewChild() :
#def #def removeChild() :
\ No newline at end of file #def getSize() :
#def isLeaf() :
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment