Class

ContradictionProcessingService

ContradictionProcessingService()

Contradiction Processing Service

Constructor

# new ContradictionProcessingService()

Constructor for Contradiction Processing Service

View Source services/contradictionProcessing.service.js, line 10

Classes

ContradictionProcessingService

Members

# detectionService

Contradiction Detector Service instance

View Source services/contradictionProcessing.service.js, line 15

Methods

# async processAndApplyContradictions(investigation, updateMethod) → {Promise.<IInvestigation>}

Processes contradictions in an investigation and applies updates if needed.

Parameters:
Name Type Description
investigation IInvestigation

The investigation to process.

updateMethod function

The method used to update the investigation.

View Source services/contradictionProcessing.service.js, line 73

  • The investigation after updates have been applied.
Promise.<IInvestigation>

# async processContradictions(investigation) → {Promise.<(object|null)>}

Processes contradictions in an investigation and returns update fields if contradictions are detected.

Parameters:
Name Type Description
investigation IInvestigation

The investigation to process.

View Source services/contradictionProcessing.service.js, line 29

  • An object with updated fields if contradictions are detected, or null otherwise.
Promise.<(object|null)>