Uses of Class
featurecat.lizzie.rules.BoardHistoryNode
-
Packages that use BoardHistoryNode Package Description featurecat.lizzie.gui featurecat.lizzie.rules featurecat.lizzie.util -
-
Uses of BoardHistoryNode in featurecat.lizzie.gui
Methods in featurecat.lizzie.gui that return types with arguments of type BoardHistoryNode Modifier and Type Method Description java.util.Optional<BoardHistoryNode>
VariationTree. draw(java.awt.Graphics2D g, int posx, int posy, int width, int height, boolean calc)
java.util.Optional<BoardHistoryNode>
VariationTree. drawTree(java.awt.Graphics2D g, int posx, int posy, int startLane, int maxposy, int minposx, BoardHistoryNode startNode, int variationNumber, boolean isMain, boolean calc)
Methods in featurecat.lizzie.gui with parameters of type BoardHistoryNode Modifier and Type Method Description java.util.Optional<BoardHistoryNode>
VariationTree. drawTree(java.awt.Graphics2D g, int posx, int posy, int startLane, int maxposy, int minposx, BoardHistoryNode startNode, int variationNumber, boolean isMain, boolean calc)
-
Uses of BoardHistoryNode in featurecat.lizzie.rules
Fields in featurecat.lizzie.rules with type parameters of type BoardHistoryNode Modifier and Type Field Description java.util.ArrayList<BoardHistoryNode>
BoardHistoryNode. variations
Methods in featurecat.lizzie.rules that return BoardHistoryNode Modifier and Type Method Description BoardHistoryNode
BoardHistoryNode. add(BoardHistoryNode node)
Sets up for a new node.BoardHistoryNode
BoardHistoryNode. addOrGoto(BoardData data)
If we already have a next node with the same BoardData, move to it, otherwise add it and move to it.BoardHistoryNode
BoardHistoryNode. addOrGoto(BoardData data, boolean newBranch)
BoardHistoryNode
BoardHistoryNode. addOrGoto(BoardData data, boolean newBranch, boolean changeMove)
If we already have a next node with the same BoardData, move to it, otherwise add it and move to it.BoardHistoryNode
BoardHistoryNode. childAtDepth(int depth)
Given some depth, returns the child at the given depth in the main trunk.BoardHistoryNode
BoardHistoryNode. findTop()
Find top of variation (the first move that is on the main trunk)BoardHistoryNode
BoardHistoryList. getCurrentHistoryNode()
BoardHistoryNode
BoardHistoryList. getEnd()
BoardHistoryNode
BoardHistoryNode. nodeBeforeTopOfFatherBranch()
BoardHistoryNode
BoardHistoryList. root()
Returns the root nodeBoardHistoryNode
BoardHistoryNode. topOfBranch()
BoardHistoryNode
BoardHistoryNode. topOfFatherBranch()
Methods in featurecat.lizzie.rules that return types with arguments of type BoardHistoryNode Modifier and Type Method Description java.util.Optional<BoardHistoryNode>
BoardHistoryNode. findChildOfPreviousWithVariation()
Find first move with variations in tree above node.java.util.Optional<BoardHistoryNode>
BoardHistoryNode. findNextNodeWithComment()
Finds the next node with the comment.java.util.Optional<BoardHistoryNode>
BoardHistoryNode. findPreviousNodeWithComment()
Finds the previous node with the comment.java.util.Optional<BoardHistoryNode>
BoardHistoryNode. firstParentWithVariations()
Finds the first parent with variations.java.util.List<BoardHistoryNode>
BoardHistoryList. getNexts()
java.util.Optional<BoardHistoryNode>
BoardHistoryNode. getVariation(int idx)
java.util.List<BoardHistoryNode>
BoardHistoryNode. getVariations()
java.util.Optional<BoardHistoryNode>
BoardHistoryNode. next()
java.util.Optional<BoardHistoryNode>
BoardHistoryNode. next(boolean includeDummy)
java.util.Optional<BoardHistoryNode>
BoardHistoryNode. now()
java.util.Optional<BoardHistoryNode>
BoardHistoryNode. previous()
Methods in featurecat.lizzie.rules with parameters of type BoardHistoryNode Modifier and Type Method Description BoardHistoryNode
BoardHistoryNode. add(BoardHistoryNode node)
Sets up for a new node.boolean
BoardHistoryNode. compare(BoardHistoryNode node)
int
BoardHistoryNode. depthOfNode(BoardHistoryNode childNode)
Given a child node, find the depth of that child node in its parentint
BoardHistoryNode. findIndexOfNode(BoardHistoryNode childNode, boolean allSub)
Given a child node, find the index of that child node in its parentint
BoardHistoryNode. indexOfNode(BoardHistoryNode childNode)
Given a child node, find the index of that child node in its parentvoid
BoardHistoryNode. moveChildDown(BoardHistoryNode child)
void
BoardHistoryNode. moveChildUp(BoardHistoryNode child)
void
Board. moveToAnyPosition(BoardHistoryNode targetNode)
Jump anywhere in the board history tree.void
Board. restoreMoveNumber(BoardHistoryNode node)
Restore move number by nodevoid
Board. saveBackRouting(BoardHistoryNode node)
Save the back routing from childrenvoid
BoardHistoryNode. swapMoveNumberList(BoardHistoryNode child)
void
BoardHistoryNode. sync(BoardHistoryNode node)
-
Uses of BoardHistoryNode in featurecat.lizzie.util
Methods in featurecat.lizzie.util with parameters of type BoardHistoryNode Modifier and Type Method Description static java.awt.Color
Utils. getBlunderNodeColor(BoardHistoryNode node)
static double
Utils. lastWinrateDiff(BoardHistoryNode node)
-