C# Class DataDebugMethods.DAG

Exibir arquivo Open project: plasma-umass/DataDebug Class Usage Examples

Public Methods

Method Description
DAG ( Microsoft.Office.Interop.Excel wb, Microsoft.Office.Interop.Excel app, bool ignore_parse_errors ) : System
ToDOT ( ) : string
allCells ( ) : AST.Address[]
allComputationCells ( ) : AST.Address[]
allVectors ( ) : AST.Range[]
containsLoop ( ) : bool
getAllFormulaAddrs ( ) : AST.Address[]
getCOMRefForAddress ( AST addr ) : AST.COMRef
getCOMRefForRange ( AST rng ) : AST.COMRef
getFormulaAtAddress ( AST addr ) : string
getFormulaInputVectors ( AST f ) : HashSet
getFormulaSingleCellInputs ( AST node ) : HashSet
getWeight ( AST node ) : int
isFormula ( AST node ) : bool
linkComponentInputCell ( AST input_range, AST input_addr ) : void
linkInputVector ( AST formula_addr, AST vector_rng ) : void
linkSingleCellInput ( AST formula_addr, AST input_addr ) : void
makeInputVectorCOMRef ( AST rng ) : AST.COMRef
markPerturbability ( AST vector_rng ) : void
numberOfInputCells ( ) : int
readCOMValueAtAddress ( AST addr ) : string
setWeight ( AST node, int weight ) : void
terminalFormulaNodes ( bool all_outputs ) : AST.Address[]
terminalInputCells ( ) : AST.Address[]
terminalInputVectors ( ) : AST.Range[]

Private Methods

Method Description
DOTEscapedFormulaString ( string formula ) : string
DOTNodeName ( AST addr ) : string
ToDOT ( AST current_addr, HashSet visited ) : string
fastFormulaRead ( Microsoft.Office.Interop.Excel wb ) : void
getChildCellsRec ( AST cell_addr ) : IEnumerable
getVectorChildCellsRec ( AST vector_addr ) : IEnumerable
traversalHasLoop ( AST current_addr, AST.Address>.Dictionary visited, AST from_addr ) : bool

Method Details

DAG() public method

public DAG ( Microsoft.Office.Interop.Excel wb, Microsoft.Office.Interop.Excel app, bool ignore_parse_errors ) : System
wb Microsoft.Office.Interop.Excel
app Microsoft.Office.Interop.Excel
ignore_parse_errors bool
return System

ToDOT() public method

public ToDOT ( ) : string
return string

allCells() public method

public allCells ( ) : AST.Address[]
return AST.Address[]

allComputationCells() public method

public allComputationCells ( ) : AST.Address[]
return AST.Address[]

allVectors() public method

public allVectors ( ) : AST.Range[]
return AST.Range[]

containsLoop() public method

public containsLoop ( ) : bool
return bool

getAllFormulaAddrs() public method

public getAllFormulaAddrs ( ) : AST.Address[]
return AST.Address[]

getCOMRefForAddress() public method

public getCOMRefForAddress ( AST addr ) : AST.COMRef
addr AST
return AST.COMRef

getCOMRefForRange() public method

public getCOMRefForRange ( AST rng ) : AST.COMRef
rng AST
return AST.COMRef

getFormulaAtAddress() public method

public getFormulaAtAddress ( AST addr ) : string
addr AST
return string

getFormulaInputVectors() public method

public getFormulaInputVectors ( AST f ) : HashSet
f AST
return HashSet

getFormulaSingleCellInputs() public method

public getFormulaSingleCellInputs ( AST node ) : HashSet
node AST
return HashSet

getWeight() public method

public getWeight ( AST node ) : int
node AST
return int

isFormula() public method

public isFormula ( AST node ) : bool
node AST
return bool

linkComponentInputCell() public method

public linkComponentInputCell ( AST input_range, AST input_addr ) : void
input_range AST
input_addr AST
return void

linkInputVector() public method

public linkInputVector ( AST formula_addr, AST vector_rng ) : void
formula_addr AST
vector_rng AST
return void

linkSingleCellInput() public method

public linkSingleCellInput ( AST formula_addr, AST input_addr ) : void
formula_addr AST
input_addr AST
return void

makeInputVectorCOMRef() public method

public makeInputVectorCOMRef ( AST rng ) : AST.COMRef
rng AST
return AST.COMRef

markPerturbability() public method

public markPerturbability ( AST vector_rng ) : void
vector_rng AST
return void

numberOfInputCells() public method

public numberOfInputCells ( ) : int
return int

readCOMValueAtAddress() public method

public readCOMValueAtAddress ( AST addr ) : string
addr AST
return string

setWeight() public method

public setWeight ( AST node, int weight ) : void
node AST
weight int
return void

terminalFormulaNodes() public method

public terminalFormulaNodes ( bool all_outputs ) : AST.Address[]
all_outputs bool
return AST.Address[]

terminalInputCells() public method

public terminalInputCells ( ) : AST.Address[]
return AST.Address[]

terminalInputVectors() public method

public terminalInputVectors ( ) : AST.Range[]
return AST.Range[]