Competitive analysis formalizes this idea by comparing the relative performance of an online and offline algorithm for the same problem instance.
Specifically, the competitive ratio of an algorithm, is defined as the worst-case ratio of its cost divided by the optimal cost, over all possible inputs.
If the ratio between the performance of an online algorithm and an optimal offline algorithm is bounded, the online algorithm is called competitive.
Michael Perelman, Clinical Professor of Psychiatry, Reproductive Medicine, and Urology at the NY Weill Medical College of Cornell University, former Dear Paul, I found your article on hymens to be refreshingly accurate.
In contrast, an offline algorithm is given the whole problem data from the beginning and is required to output an answer which solves the problem at hand.
As an example, consider the sorting algorithms selection sort and insertion sort: Selection sort repeatedly selects the minimum element from the unsorted remainder and places it at the front, which requires access to the entire input; it is thus an offline algorithm.
There are actually 2 myths about the hymen; one dangerous and one protective for women: The first and oldest myth is that the hymen always breaks the first time a woman has vaginal intercourse, and will bleed.
The second is that athletics or tampons can break the hymen.