#include <cn94.hpp>
Inheritance diagram for Arak::CN94Proposal::BoundaryTriangleDeath:
Definition at line 577 of file cn94.hpp.
Public Member Functions | |
BoundaryTriangleDeath () | |
void | reset (Coloring::VertexHandle vertex) |
Resets this move. | |
virtual void | execute (Coloring &c) |
Updates the supplied coloring according to this move. | |
virtual void | undo (Coloring &c) |
Updates the supplied Coloring so that the effects of performing this move are undone. | |
Protected Attributes | |
Coloring::VertexHandle | vh |
A handle on the root vertex of the triangle removed by the move. | |
Point | up |
The boundary vertices of the boundary triangle. | |
Point | vp |
The boundary vertices of the boundary triangle. | |
Point | wp |
The interior vertex of the boundary triangle. | |
Coloring::VertexHandle | prevBoundaryVertex |
A handle on the boundary vertex that precedes the earlier boundary vertex of the boundary triangle. | |
Coloring::VertexHandle | nextBoundaryVertex |
A handle on the boundary vertex that follows the later boundary vertex of the boundary triangle. | |
Friends | |
class | CN94Proposal |
class | ModifiedCN94Proposal |
|
|
|
Updates the supplied coloring according to this move. It is an error to call this method if the move is not valid for the supplied coloring.
Implements Arak::ColoringMove. Definition at line 255 of file cn94.cpp. References Arak::Coloring::deleteBdTriangle(), and PointerHandle< T >::valid(). |
|
Resets this move.
Definition at line 232 of file cn94.cpp. References nextBoundaryVertex, prevBoundaryVertex, up, Arak::Coloring::VertexHandle, vp, and wp. Referenced by Arak::CN94Proposal::proposeBdTriangleDeath(). |
|
Updates the supplied Coloring so that the effects of performing this move are undone. The semantics of this method ensure that applying execute(Coloring&) and then undo(Coloring&) to the same coloring leaves the coloring invariant. It is an error to call this method if this undo is not valid for the supplied coloring.
Implements Arak::ColoringMove. Definition at line 260 of file cn94.cpp. References Arak::Coloring::BdEdgeHandle, Arak::Coloring::newBoundaryTriangle(), prevBoundaryVertex, up, PointerHandle< T >::valid(), vp, and wp. |
|
|
|
|
|
A handle on the boundary vertex that follows the later boundary vertex of the boundary triangle. This is used to restore the boundary triangle in case the move is undone. Definition at line 617 of file cn94.hpp. Referenced by reset(), and Arak::CN94Proposal::rll(). |
|
A handle on the boundary vertex that precedes the earlier boundary vertex of the boundary triangle. This is used to restore the boundary triangle in case the move is undone. Definition at line 610 of file cn94.hpp. Referenced by reset(), Arak::CN94Proposal::rll(), and undo(). |
|
The boundary vertices of the boundary triangle. This information is used to restore the triangle if the move is undone. Definition at line 596 of file cn94.hpp. Referenced by reset(), Arak::CN94Proposal::rll(), and undo(). |
|
A handle on the root vertex of the triangle removed by the move. This is invalidated after the move has been executed, but is reset if the move is undone. |
|
The boundary vertices of the boundary triangle. This information is used to restore the triangle if the move is undone. Definition at line 596 of file cn94.hpp. Referenced by reset(), Arak::CN94Proposal::rll(), and undo(). |
|
The interior vertex of the boundary triangle. This information is used to restore the triangle if the move is undone. |