ReactionMapping Class |
Namespace: Scilligence.MolEngine
public class ReactionMapping : AAMapping
The ReactionMapping type exposes the following members.
| Name | Description | |
|---|---|---|
| ReactionMapping |
Construct a reactiom atom-by-atom mapping
|
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Search(MolBase) |
Do the mapping
(Inherited from AAMapping.) | |
| Search(MolBase, AAMappingMode) |
Perform the mapping
(Overrides AAMappingSearch(MolBase, AAMappingMode).) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Reaction query = Reaction.Read("c1ccccc1Cl>>c1ccccc1O"); ReactionMapping mapping = new ReactionMapping(); Reaction target = Reaction.Read("CCC1=CC=C(Cl)C=C1>>CCC1=CC=C(OCCC)C=C1"); ABMap map = mapping.Search(target); BiMap.Enumerator e = map.Q2TAtomMap.GetEnumerator(); while (e.MoveNext()) { Console.WriteLine(e.Current.Key + " --> " + e.Curent.Value); }