move bound up

This commit is contained in:
AF 2023-06-18 12:16:14 +00:00
parent 16c939e699
commit d49c8a7133
5 changed files with 6 additions and 8 deletions

View File

@ -1,5 +1,6 @@
pub mod avl; pub mod avl;
pub mod balancing; pub mod balancing;
pub mod bound;
pub mod bounds; pub mod bounds;
use crate::flow::comparator::*; use crate::flow::comparator::*;

View File

@ -1,6 +1,6 @@
use std::fmt::Display; use std::fmt::Display;
use super::{avl::*, bounds::bound::BinaryTreesBindable, *}; use super::{avl::*, bound::*, *};
pub trait BinaryTreesUnbalanced<'a>: BinaryTreesHeight<'a> { pub trait BinaryTreesUnbalanced<'a>: BinaryTreesHeight<'a> {
fn tree_of_with_height(&self, node: Self::Node, height: u64) -> BTWrap<'a, Self, Self::Tree>; fn tree_of_with_height(&self, node: Self::Node, height: u64) -> BTWrap<'a, Self, Self::Tree>;

View File

@ -1,8 +1,7 @@
use crate::flow::binary::avl::*; use super::avl::*;
use crate::flow::binary::*; use super::bounds::*;
use crate::func::context::*;
use super::*; use super::*;
use crate::func::context::*;
#[derive(Clone)] #[derive(Clone)]
pub struct Bound<A, T> { pub struct Bound<A, T> {

View File

@ -1,5 +1,3 @@
pub mod bound;
use crate::flow::comparator::*; use crate::flow::comparator::*;
#[derive(Clone)] #[derive(Clone)]

View File

@ -1,7 +1,7 @@
use std::{fmt::Display, marker::PhantomData, rc::Rc}; use std::{fmt::Display, marker::PhantomData, rc::Rc};
use crate::flow::{ use crate::flow::{
binary::{balancing::*, bounds::bound::*, *}, binary::{balancing::*, bound::*, *},
comparator::*, comparator::*,
}; };
use crate::func::{context::*, *}; use crate::func::{context::*, *};