コード例 #1
0
 public TspSolutionWriter(IDtoStore dtoStore, IRouteRepository routeRepository)
 {
     _dtoStore        = dtoStore;
     _routeRepository = routeRepository;
 }
コード例 #2
0
 public GraphColoringSolutionBuilder(INodeAndArcRepository nodeAndArcRepository, IDtoStore dtoStore)
 {
     _nodeAndArcRepository = nodeAndArcRepository;
     _dtoStore             = dtoStore;
 }
コード例 #3
0
 public ItemBuilderFromFile(IItemRepository itemRepository, IDtoStore dtoStore)
 {
     _itemRepository = itemRepository;
     _dtoStore       = dtoStore;
 }
コード例 #4
0
 public TypeConverter(string dbPath)
 {
     context = new Checkout.Data.Database(dbPath);
 }
コード例 #5
0
 public BagBuilderFromFile(IBagRepository bagRepository, IDtoStore dtoStore)
 {
     _bagRepository = bagRepository;
     _dtoStore      = dtoStore;
 }
コード例 #6
0
 public KnapsackSolutionWriterToFile(IDtoStore dtoStore, IItemRepository itemRepository, IBagRepository bagRepository)
 {
     _dtoStore       = dtoStore;
     _itemRepository = itemRepository;
     _bagRepository  = bagRepository;
 }
コード例 #7
0
 public TspNodeBuilder(IDtoStore dtoStore, INodeAndArcRepository nodeAndArcRepository)
 {
     _dtoStore             = dtoStore;
     _nodeAndArcRepository = nodeAndArcRepository;
 }
コード例 #8
0
 public GraphColoringNodeBuilder(IDtoStore dtoStore, INodeAndArcRepository nodeAndArcRepository)
 {
     _dtoStore             = dtoStore;
     _nodeAndArcRepository = nodeAndArcRepository;
 }