#include <cn94.hpp>
Inheritance diagram for Arak::CN94Proposal::InteriorTriangleDeath:


Definition at line 114 of file cn94.hpp.
Public Member Functions | |
| InteriorTriangleDeath (const CN94Proposal &proposal) | |
| Constructor. | |
| void | reset (Coloring::VertexHandle vertex, bool isShort) |
| 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 | |
| const CN94Proposal & | proposal |
| The proposal that this move is associated with. | |
| Coloring::VertexHandle | vh |
| A handle on a vertex of the triangle removed by the move. | |
| Point | u |
| The vertices of the triangle. | |
| Point | v |
| The vertices of the triangle. | |
| Point | w |
| The vertices of the triangle. | |
| bool | isShort |
| This is true if the triangle to be removed is "short", meaning that a casting box centered at each vertex contains the other two vertices. | |
Friends | |
| class | CN94Proposal |
|
|
Constructor.
|
|
|
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 72 of file cn94.cpp. References Arak::Coloring::deleteIntTriangle(), and PointerHandle< T >::valid(). |
|
||||||||||||
|
Resets this move.
Definition at line 61 of file cn94.cpp. References Arak::Coloring::VertexHandle. Referenced by Arak::CN94Proposal::proposeIntTriangleDeath(). |
|
|
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 77 of file cn94.cpp. References Arak::Coloring::newInteriorTriangle(), and PointerHandle< T >::valid(). |
|
|
|
|
|
This is true if the triangle to be removed is "short", meaning that a casting box centered at each vertex contains the other two vertices.
Definition at line 143 of file cn94.hpp. Referenced by Arak::CN94Proposal::rll(). |
|
|
The proposal that this move is associated with.
|
|
|
The vertices of the triangle. This information is used to restore the triangle if the move is undone. |
|
|
The vertices of the triangle. This information is used to restore the triangle if the move is undone. |
|
|
A handle on a vertex of the triangle removed by the move. This is invalid after the move has been executed, but is reset to if the move is undone. |
|
|
The vertices of the triangle. This information is used to restore the triangle if the move is undone. |
1.3.6