refactor and integrate

This commit is contained in:
Leijurv
2023-03-21 00:11:04 -07:00
parent 317f07283e
commit af320bd052
23 changed files with 136 additions and 40 deletions

View File

@@ -1,4 +1,21 @@
package com.github.leijurv;
/*
* This file is part of Baritone.
*
* Baritone is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Baritone is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Baritone. If not, see <https://www.gnu.org/licenses/>.
*/
package baritone.builder;
import baritone.api.utils.BetterBlockPos;
import org.junit.Test;

View File

@@ -1,6 +1,6 @@
package com.github.btrekkie.arbitrary_order_collection;
import com.github.btrekkie.red_black_node.RedBlackNode;
import baritone.builder.utils.com.github.btrekkie.red_black_node.RedBlackNode;
/**
* A node in an ArbitraryOrderCollection tree. See ArbitraryOrderCollection.

View File

@@ -1,8 +1,8 @@
package com.github.btrekkie.connectivity.test;
import com.github.btrekkie.connectivity.ConnGraph;
import com.github.btrekkie.connectivity.ConnVertex;
import com.github.leijurv.EulerTourForest;
import baritone.builder.EulerTourForest;
import baritone.builder.utils.com.github.btrekkie.connectivity.ConnGraph;
import baritone.builder.utils.com.github.btrekkie.connectivity.ConnVertex;
import org.junit.Test;
import java.util.ArrayList;

View File

@@ -1,6 +1,6 @@
package com.github.btrekkie.connectivity.test;
import com.github.btrekkie.connectivity.Augmentation;
import baritone.builder.utils.com.github.btrekkie.connectivity.Augmentation;
/**
* Stores two values: a sum and a maximum. Used for testing augmentation in ConnGraph.

View File

@@ -1,6 +1,6 @@
package com.github.btrekkie.interval_tree;
import com.github.btrekkie.red_black_node.RedBlackNode;
import baritone.builder.utils.com.github.btrekkie.red_black_node.RedBlackNode;
/**
* A node in an IntervalTree. See the comments for the implementation of IntervalTree. Its compareTo method orders

View File

@@ -1,6 +1,6 @@
package com.github.btrekkie.red_black_node.test;
import com.github.btrekkie.red_black_node.RedBlackNode;
import baritone.builder.utils.com.github.btrekkie.red_black_node.RedBlackNode;
/**
* A RedBlackNode for RedBlackNodeTest.

View File

@@ -1,6 +1,6 @@
package com.github.btrekkie.sub_array_min;
import com.github.btrekkie.red_black_node.RedBlackNode;
import baritone.builder.utils.com.github.btrekkie.red_black_node.RedBlackNode;
/**
* A node in a SubArrayMin object. See the comments for the implementation of that class.