dsap API Documentation Modules Classes Names
Clear Help

Search bar offers the following options:

  • Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: +foo bar -baz
  • Wildcards. The below example searches for documents with words beginning with “foo”: foo*
  • Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: +qname:twisted.mail.* +search

    Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

  • Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: foo~1

Results provided by Lunr.js

Class Hierarchy

  • collections.MutableMapping
    • dsap.mapping.map_base.MapBase - Our own abstract base class that includes a nonpublic _Item class.
      • dsap.mapping.hash_map_base.HashMapBase - Abstract base class for map using hash-table with MAD compression.
        • dsap.mapping.chain_hash_map.ChainHashMap - Hash map implemented with separate chaining for collision resolution.
        • dsap.mapping.probe_hash_map.ProbeHashMap - Hash map implemented with linear probing for collision resolution.
      • dsap.mapping.sorted_table_map.SortedTableMap - Map implementation using a sorted table.
      • dsap.mapping.unsorted_table_map.UnsortedTableMap - Map implementation using an unordered list.
      • dsap.searchtree.binary_search_tree.TreeMap - Sorted map implementation using a binary search tree.
        • dsap.searchtree.avl_tree.AVLTreeMap - Sorted map implementation using an AVL tree.
        • dsap.searchtree.red_black_tree.RedBlackTreeMap - Sorted map implementation using a red-black tree.
        • dsap.searchtree.splay_tree.SplayTreeMap - Sorted map implementation using a splay tree.
  • dsap.array.caesar.CaesarCipher - Class for doing encryption and decryption using a Caesar cipher.
  • dsap.array.dynamic_array.DynamicArray - A dynamic array class akin to a simplified Python list.
  • dsap.array.high_scores.GameEntry - Represents one entry of a list of high scores.
  • dsap.array.high_scores.Scoreboard - Fixed-length sequence of high scores in nondecreasing order.
  • dsap.array.tic_tac_toe.TicTacToe - Management of a Tic-Tac-Toe game (does not do strategy).
  • dsap.graph.graph.Graph - Representation of a simple graph using an adjacency map.
  • dsap.graph.graph.Graph.Edge - Lightweight edge structure for a graph.
  • dsap.graph.graph.Graph.Vertex - Lightweight vertex structure for a graph.
  • dsap.graph.partition.Partition - Union-find structure for maintaining disjoint sets.
  • dsap.graph.partition.Partition.Position - A representation of a universe of elements organized into disjoint subsets.
  • dsap.linkedlist.circular_queue.LinkedCircularQueue - Queue implementation using circularly linked list for storage.
  • dsap.linkedlist.circular_queue.LinkedCircularQueue._Node - Lightweight, nonpublic class for storing a singly linked node.
  • dsap.linkedlist.doubly_linked_base._DoublyLinkedBase - A base class providing a doubly linked list representation.
    • dsap.linkedlist.linked_deque.LinkedDeque - Double-ended queue implementation based on a doubly linked list.
    • dsap.linkedlist.positional_list.PositionalList - A sequential container of elements allowing positional access.
  • dsap.linkedlist.doubly_linked_base._DoublyLinkedBase._Node - Lightweight, nonpublic class for storing a doubly linked node.
  • dsap.linkedlist.favorites_list.FavoritesList - List of elements ordered from most frequently accessed to least.
    • dsap.linkedlist.favorites_list_mtf.FavoritesListMTF - List of elements ordered with move-to-front heuristic.
  • dsap.linkedlist.favorites_list.FavoritesList._Item - Undocumented
  • dsap.linkedlist.linked_queue.LinkedQueue - FIFO queue implementation using a singly linked list for storage.
  • dsap.linkedlist.linked_queue.LinkedQueue._Node - Lightweight, nonpublic class for storing a singly linked node.
  • dsap.linkedlist.linked_stack.LinkedStack - LIFO Stack implementation using a singly linked list for storage.
  • dsap.linkedlist.linked_stack.LinkedStack._Node - Lightweight, nonpublic class for storing a singly linked node.
  • dsap.linkedlist.positional_list.PositionalList.Position - An abstraction representing the location of a single element.
  • dsap.mapping.cost_performance.CostPerformanceDatabase - Maintain a database of maximal (cost,performance) pairs.
  • dsap.mapping.map_base.MapBase._Item - Lightweight composite to store key-value pairs as map items.
  • dsap.mapping.multi_map.MultiMap - A multimap class built upon use of an underlying map for storage.
  • dsap.oop.credit_card.CreditCard - A consumer credit card.
    • dsap.oop.predatory_credit_card.PredatoryCreditCard - An extension to CreditCard that compounds interest and fees.
  • dsap.oop.our_range.OurRange - A class that mimics the built-in range class.
  • dsap.oop.progressions.Progression - Iterator producing a generic progression.
    • dsap.oop.progressions.ArithmeticProgression - Iterator producing an arithmetic progression.
    • dsap.oop.progressions.FibonacciProgression - Iterator producing a generalized Fibonacci progression.
    • dsap.oop.progressions.GeometricProgression - Iterator producing a geometric progression.
  • dsap.oop.sequence_abc.Sequence - Our own version of collections.Sequence abstract base class.
  • dsap.oop.sequence_iterator.SequenceIterator - An iterator for any of Python's sequence types.
  • dsap.oop.vector.Vector - Represent a vector in a multidimensional space.
  • dsap.pq.priority_queue_base.PriorityQueueBase - Abstract base class for a priority queue.
    • dsap.pq.heap_priority_queue.HeapPriorityQueue - A min-oriented priority queue implemented with a binary heap.
      • dsap.pq.adaptable_heap_priority_queue.AdaptableHeapPriorityQueue - A locator-based priority queue implemented with a binary heap.
    • dsap.pq.sorted_priority_queue.SortedPriorityQueue - A min-oriented priority queue implemented with a sorted list.
    • dsap.pq.unsorted_priority_queue.UnsortedPriorityQueue - A min-oriented priority queue implemented with an unsorted list.
  • dsap.pq.priority_queue_base.PriorityQueueBase._Item - Lightweight composite to store priority queue items.
    • dsap.pq.adaptable_heap_priority_queue.AdaptableHeapPriorityQueue.Locator - Token for locating an entry of the priority queue.
  • dsap.sorting.decorated_merge_sort._Item - Lightweight composite to store decorated value for sorting.
  • dsap.stackqueue.array_queue.ArrayQueue - FIFO queue implementation using a Python list as underlying storage.
  • dsap.stackqueue.array_stack.ArrayStack - LIFO Stack implementation using a Python list as underlying storage.
  • dsap.trees.euler_tour.EulerTour - Abstract base class for performing Euler tour of a tree.
  • dsap.trees.linked_binary_tree.LinkedBinaryTree._Node - Lightweight, nonpublic class for storing a node.
    • dsap.searchtree.avl_tree.AVLTreeMap._Node - Node class for AVL maintains height value for balancing.
    • dsap.searchtree.red_black_tree.RedBlackTreeMap._Node - Node class for red-black tree maintains bit that denotes color.
  • dsap.trees.tree.Tree - Abstract base class representing a tree structure.
    • dsap.trees.binary_tree.BinaryTree - Abstract base class representing a binary tree structure.
      • dsap.trees.linked_binary_tree.LinkedBinaryTree - Linked representation of a binary tree structure.
        • dsap.searchtree.binary_search_tree.TreeMap - Sorted map implementation using a binary search tree.
          • dsap.searchtree.avl_tree.AVLTreeMap - Sorted map implementation using an AVL tree.
          • dsap.searchtree.red_black_tree.RedBlackTreeMap - Sorted map implementation using a red-black tree.
          • dsap.searchtree.splay_tree.SplayTreeMap - Sorted map implementation using a splay tree.
        • dsap.trees.expression_tree.ExpressionTree - An arithmetic expression tree.
  • dsap.trees.tree.Tree.Position - An abstraction representing the location of a single element within a tree.
    • dsap.trees.linked_binary_tree.LinkedBinaryTree.Position - An abstraction representing the location of a single element.
      • dsap.searchtree.binary_search_tree.TreeMap.Position - No class docstring; 2/2 methods documented
  • EulerTour
    • dsap.trees.euler_tour_examples.BinaryEulerTour - Abstract base class for performing Euler tour of a binary tree.
      • dsap.trees.euler_tour_examples.BinaryLayout - Class for computing (x,y) coordinates for each node of a binary tree.
    • dsap.trees.euler_tour_examples.DiskSpaceTour - Undocumented
    • dsap.trees.euler_tour_examples.ParenthesizeTour - Undocumented
    • dsap.trees.euler_tour_examples.PreorderPrintIndentedLabeledTour - Undocumented
    • dsap.trees.euler_tour_examples.PreorderPrintIndentedTour - Undocumented
  • Exception
    • dsap.exceptions.Empty - Error type for an attempt to access an element from an empty container.
API Documentation for dsap, generated by pydoctor 22.9.1 at 2023-05-17 13:08:53.