Public Member Functions | Public Attributes | List of all members
Rose::EditDistance::TreeEditDistance::Edit Struct Reference


A single edit operation.

Definition at line 67 of file TreeEditDistance.h.

#include <midend/programAnalysis/EditDistance/TreeEditDistance.h>

Collaboration diagram for Rose::EditDistance::TreeEditDistance::Edit:
Collaboration graph

Public Member Functions

 Edit (EditType editType, SgNode *sourceNode, SgNode *targetNode, double cost)
void print (std::ostream &) const

Public Attributes

EditType editType
 Type of operation performed. More...
 Node in source tree to be replaced or deleted. More...
 Node in target tree for replacement or insertion. More...
double cost
 Cost for this operation. More...

Member Data Documentation

EditType Rose::EditDistance::TreeEditDistance::Edit::editType

Type of operation performed.

Definition at line 68 of file TreeEditDistance.h.

SgNode* Rose::EditDistance::TreeEditDistance::Edit::sourceNode

Node in source tree to be replaced or deleted.

Definition at line 69 of file TreeEditDistance.h.

SgNode* Rose::EditDistance::TreeEditDistance::Edit::targetNode

Node in target tree for replacement or insertion.

Definition at line 70 of file TreeEditDistance.h.

double Rose::EditDistance::TreeEditDistance::Edit::cost

Cost for this operation.

Definition at line 71 of file TreeEditDistance.h.

The documentation for this struct was generated from the following file: