Esempio n. 1
0
 public TreatyContractExtractor(ExposureDataAdaptor _expData, GraphBuildCache _graphCache)
     : base(_expData)
 {
     graphCache             = _graphCache;
     PrimaryDeclarationsSet = new Dictionary <long, Declarations>();
     SetContractSubject();
 }
Esempio n. 2
0
        private ContractExtractor GetContract(ExposureDataAdaptor expData, GraphBuildCache graphCache)
        {
            //Make all graph nodes for Graph
            List <GraphNode>  IntitialGraphNodes = new List <GraphNode>();
            ContractExtractor contract;

            if (expData.TreatyExposure)
            {
                contract = new TreatyContractExtractor(expData, graphCache);
            }
            else
            {
                contract = new PrimaryContractExtractor(expData);
            }

            return(contract);
        }
Esempio n. 3
0
 public FixedTreaty1(ExposureDataAdaptor _expData, GraphBuildCache _cache)
     : base(_expData.ContractID)
 {
     expdata = _expData;
     cache   = _cache;
 }
Esempio n. 4
0
 public AutoGraphBuilder(ExposureDataAdaptor _expData, GraphBuildCache _graphChache)
 {
     expData     = _expData;
     graphChache = _graphChache;
 }
Esempio n. 5
0
 public ReferencePrototype(PartitionData PD)
 {
     PDataAdaptor = new PartitionDataAdpator(PD);
     Positions    = new PositionData();
     GraphCache   = new GraphBuildCache(PDataAdaptor);
 }
Esempio n. 6
0
 public TreatyTermExtractor(ExposureDataAdaptor _expData, Declarations _Declarations, GraphBuildCache _graphCache)
     : base(_expData, _Declarations)
 {
     graphCache = _graphCache;
     SetContractSubject();
 }
Esempio n. 7
0
 private void InitilizePrototype(PartitionData PD, RAPSettings _rapsettings, SubSamplingAnalysisSetting _subSamplingSettings, JavascriptContext JSContext)
 {
     PDataAdaptor = new PartitionDataAdpator(PD, JSContext, _subSamplingSettings);
     Positions    = new PositionData();
     GraphCache   = new GraphBuildCache(PDataAdaptor, _rapsettings);
 }
Esempio n. 8
0
 public GraphBuilder(GraphBuildCache _graphCache)
 {
     graphCache = _graphCache;
 }
Esempio n. 9
0
 public TreatyContractExtractor(ExposureDataAdaptor _expData, GraphBuildCache _graphCache)
     : base(_expData)
 {
     graphCache = _graphCache;
     SetContractSubject();
 }