This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
'''Minimum heap implementation. See [Cormen et al 1999] for formal theory. | |
* Maintains all elements in a min-heap, such that the minimum element will | |
* be the top-most key in the heap at all times. Among many other uses, heaps are ideal for | |
* representing priority queues. | |
''' | |
from sys import maxint | |
from warnings import warn |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.github.julianjupiter.javafx; | |
import java.sql.Connection; | |
import java.sql.DriverManager; | |
import java.sql.SQLException; | |
import java.util.logging.Level; | |
import java.util.logging.Logger; | |
/** | |
* Database |