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

Description

A single edit operation.

Definition at line 67 of file TreeEditDistance.h.

#include <TreeEditDistance.h>

Collaboration diagram for Rose::EditDistance::TreeEditDistance::Edit:
Collaboration graph
[legend]

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...
 
SgNodesourceNode
 Node in source tree to be replaced or deleted. More...
 
SgNodetargetNode
 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: