EnsLib.InteropTools.HL7.MessageAnalyzer.Lines.Compress

class EnsLib.InteropTools.HL7.MessageAnalyzer.Lines.Compress

Method Inventory

Parameters

parameter ALLACTIONS;
This must be sorted by length

Methods

classmethod MakeLinesSymbols(pMessages As %List, pLogger As Logger, pQuiet As %Boolean = 1, pActions As %String = "NMR") as LinesSymbols [ Language = objectscript ]
Given a list of lists in pMessages
classmethod MakeLinesSymbolsBest(pMessages As %List, pLogger As Logger, pQuiet As %Boolean = 1, pActionsList As %List = ..#ALLACTIONS, pJudge As BaseJudge, Output pPattern) as LinesSymbols [ Language = objectscript ]
Given a list of lists in pMessages, a list of actions in pActionsList and a pattern judge in pJudge

Return the best pattern and LinesSymbols which can be found - as judged by pJudge

You should always pass the actions list sorted by length - otherwise the incremental building optimization will not be available

Feedback