Exemplo n.º 1
0
 public TreatyContractExtractor(ExposureDataAdaptor _expData, GraphBuildCache _graphCache)
     : base(_expData)
 {
     graphCache             = _graphCache;
     PrimaryDeclarationsSet = new Dictionary <long, Declarations>();
     SetContractSubject();
 }
Exemplo 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);
        }
Exemplo n.º 3
0
 public FixedTreaty1(ExposureDataAdaptor _expData, GraphBuildCache _cache)
     : base(_expData.ContractID)
 {
     expdata = _expData;
     cache   = _cache;
 }
Exemplo n.º 4
0
 public AutoGraphBuilder(ExposureDataAdaptor _expData, GraphBuildCache _graphChache)
 {
     expData     = _expData;
     graphChache = _graphChache;
 }
Exemplo n.º 5
0
 public ReferencePrototype(PartitionData PD)
 {
     PDataAdaptor = new PartitionDataAdpator(PD);
     Positions    = new PositionData();
     GraphCache   = new GraphBuildCache(PDataAdaptor);
 }
Exemplo n.º 6
0
 public TreatyTermExtractor(ExposureDataAdaptor _expData, Declarations _Declarations, GraphBuildCache _graphCache)
     : base(_expData, _Declarations)
 {
     graphCache = _graphCache;
     SetContractSubject();
 }
Exemplo 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);
 }
Exemplo n.º 8
0
 public GraphBuilder(GraphBuildCache _graphCache)
 {
     graphCache = _graphCache;
 }
Exemplo n.º 9
0
 public TreatyContractExtractor(ExposureDataAdaptor _expData, GraphBuildCache _graphCache)
     : base(_expData)
 {
     graphCache = _graphCache;
     SetContractSubject();
 }