Clear the delta list and also reset all state flags.
| 234 | |
| 235 | // Clear the delta list and also reset all state flags. |
| 236 | void WorkingMemory::ClearOutputLinkChanges() |
| 237 | { |
| 238 | //std::cout << "ClearOutputLinkChanges" << std::endl; |
| 239 | // Clear the list, deleting any WMEs that it owns |
| 240 | // Call this even if m_TrackingOutputLinkChanges false in case there was something on it before false |
| 241 | m_OutputDeltaList.Clear(true, true, true) ; |
| 242 | |
| 243 | //// We only maintain this information for values on the output link |
| 244 | //// as the client knows what's happening on the input link (presumably) |
| 245 | //// as it is controlling the creation of those objects. |
| 246 | //if (m_OutputLink) |
| 247 | //{ |
| 248 | // // Reset the information about how the output link just changed. |
| 249 | // // This is definitely being maintained. |
| 250 | // m_OutputLink->ClearJustAdded() ; |
| 251 | // m_OutputLink->ClearChildrenModified() ; |
| 252 | //} |
| 253 | } |
| 254 | |
| 255 | /************************************************************* |
| 256 | * @brief This function is called when an output wme has been added. |
no test coverage detected