dartwork 0.1.0
dartwork: ^0.1.0 copied to clipboard
A general-purpose algoritms library includes Bag, Queue, Stack, Graph, Digraph, DirectedCycle, DepthFirstOrder, SymbolGraph, SymbolDigraph, SymbolTable, Topological sort
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dartworkThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
dartwork: ^0.1.0Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dartwork/fundamentals/maps/NavigableMap.dart';
import 'package:dartwork/fundamentals/maps/SortedMap.dart';
import 'package:dartwork/fundamentals/maps/TreeMap.dart';
import 'package:dartwork/fundamentals/stacks/bag.dart';
import 'package:dartwork/fundamentals/stacks/queue.dart';
import 'package:dartwork/fundamentals/stacks/shared.dart';
import 'package:dartwork/fundamentals/stacks/stack.dart';
import 'package:dartwork/graphs/directed-graphs/AbstractGraph.dart';
import 'package:dartwork/graphs/directed-graphs/DepthFirstOrder.dart';
import 'package:dartwork/graphs/directed-graphs/Digraph.dart';
import 'package:dartwork/graphs/directed-graphs/DirectedCycle.dart';
import 'package:dartwork/graphs/directed-graphs/Entry.dart';
import 'package:dartwork/graphs/directed-graphs/Graph.dart';
import 'package:dartwork/graphs/directed-graphs/SymbolDigraph.dart';
import 'package:dartwork/graphs/directed-graphs/SymbolGraph.dart';
import 'package:dartwork/graphs/directed-graphs/SymbolTable.dart';
import 'package:dartwork/graphs/directed-graphs/Toplogical.dart';
import 'package:dartwork/graphs/shortest-paths/DepthFirstOrder.dart';
import 'package:dartwork/graphs/shortest-paths/DirectedEdge.dart';
import 'package:dartwork/graphs/shortest-paths/EdgeWeightedDigraph.dart';
import 'package:dartwork/graphs/shortest-paths/Toplogical.dart';