#include <cn94.hpp>
Inheritance diagram for Arak::CN94Proposal::InteriorTriangleBirth:
Definition at line 68 of file cn94.hpp.
Public Member Functions | |
InteriorTriangleBirth () | |
void | reset (const Point &u, const Point &v, const Point &w) |
Resets this move with the new values. | |
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 | |
Point | u |
The vertices of the triangle. | |
Point | v |
The vertices of the triangle. | |
Point | w |
The vertices of the triangle. | |
Coloring::VertexHandle | vh |
A handle on a vertex of the triangle created 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 50 of file cn94.cpp. References Arak::Coloring::newInteriorTriangle(), u, v, PointerHandle< T >::valid(), vh, and w. |
|
Resets this move with the new values.
Definition at line 43 of file cn94.cpp. References Arak::Geometry::Point, Arak::Coloring::VertexHandle, and vh. Referenced by Arak::CN94Proposal::sampleInteriorTriangleBirth(). |
|
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 55 of file cn94.cpp. References Arak::Coloring::deleteIntTriangle(), and vh. |
|
|
|
The vertices of the triangle.
Definition at line 77 of file cn94.hpp. Referenced by execute(). |
|
The vertices of the triangle.
Definition at line 77 of file cn94.hpp. Referenced by execute(), and Arak::CN94Proposal::ll(). |
|
A handle on a vertex of the triangle created by the move. This is invalid unless the move has been executed; it is invalidated if the move is undone. |
|
The vertices of the triangle.
Definition at line 77 of file cn94.hpp. Referenced by execute(), and Arak::CN94Proposal::ll(). |