move bound
up
This commit is contained in:
parent
16c939e699
commit
d49c8a7133
@ -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::*;
|
||||||
|
@ -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>;
|
||||||
|
@ -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> {
|
@ -1,5 +1,3 @@
|
|||||||
pub mod bound;
|
|
||||||
|
|
||||||
use crate::flow::comparator::*;
|
use crate::flow::comparator::*;
|
||||||
|
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
|
@ -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::*, *};
|
||||||
|
Loading…
Reference in New Issue
Block a user