#include <cn94.hpp>
Inheritance diagram for Arak::CN94Proposal::CornerCutDeath:
Definition at line 707 of file cn94.hpp.
Public Member Functions | |
CornerCutDeath () | |
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 | corner |
The corner that forms a vertex of the triangle to remove. | |
Point | u |
The point on the previous boundary edge incident to corner that is another vertex of the triangle. | |
Point | v |
The point on the next boundary edge incident to corner that will is another vertex of the triangle. | |
Coloring::VertexHandle | vh |
A handle on the root vertex of the triangle removed by the move. | |
Friends | |
class | CN94Proposal |
|
|
|
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 316 of file cn94.cpp. References Arak::Coloring::deleteCornerTriangle(), and PointerHandle< T >::valid(). |
|
Resets this move.
Definition at line 296 of file cn94.cpp. References Arak::Coloring::VertexHandle. Referenced by Arak::CN94Proposal::sampleCornerCutDeath(). |
|
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 321 of file cn94.cpp. References Arak::Coloring::newCornerTriangle(), and PointerHandle< T >::valid(). |
|
|
|
The corner that forms a vertex of the triangle to remove.
|
|
The point on the previous boundary edge incident to corner that is another vertex of the triangle. This information is used to restore the triangle if the move is undone. |
|
The point on the next boundary edge incident to corner that will is another vertex of the triangle. This information is used to restore the triangle if the move is undone. |
|
A handle on the root vertex of the triangle removed by the move. This is invalid after the move has been executed. |