ROSE  0.11.96.11
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.
 
SgNodesourceNode
 Node in source tree to be replaced or deleted.
 
SgNodetargetNode
 Node in target tree for replacement or insertion.
 
double cost
 Cost for this operation.
 

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