#include <cn94.hpp>
Inheritance diagram for Arak::CN94Proposal::InteriorVertexDeath:
Definition at line 451 of file cn94.hpp.
Public Member Functions | |
InteriorVertexDeath (const CN94Proposal &proposal) | |
Constructor. | |
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 | |
const CN94Proposal & | proposal |
The proposal that this move is associated with. | |
Coloring::VertexHandle | prevVertex |
The vertex preceeding the vertex to be removed. | |
Point | point |
The location of the removed vertex. | |
double | newEdgeLength |
The length of the edge that would be introduced if this vertex death move were executed. | |
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 160 of file cn94.cpp. References Arak::Coloring::deleteVertex(), PointerHandle< T >::valid(), and Arak::Coloring::VertexHandle. |
|
Resets this move.
Definition at line 152 of file cn94.cpp. References newEdgeLength, and Arak::Coloring::VertexHandle. Referenced by Arak::CN94Proposal::proposeIntVertexDeath(). |
|
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 166 of file cn94.cpp. References Arak::Coloring::IntEdgeHandle, and Arak::Coloring::splitEdge(). |
|
|
|
The length of the edge that would be introduced if this vertex death move were executed.
Definition at line 477 of file cn94.hpp. Referenced by reset(), and Arak::CN94Proposal::rll(). |
|
The location of the removed vertex. This information is used to restore the vertex if the move is undone. |
|
The vertex preceeding the vertex to be removed.
|
|
The proposal that this move is associated with.
|