Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Pathological (mathematics)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Computer science== In [[computer science]], ''pathological'' has a slightly different sense with regard to the study of [[algorithm]]s. Here, an input (or set of inputs) is said to be ''pathological'' if it causes atypical behavior from the algorithm, such as a violation of its average case [[Computational complexity theory|complexity]], or even its correctness. For example, [[hash table]]s generally have pathological inputs: sets of keys that [[Hash collision|collide]] on hash values. [[Quicksort]] normally has <math>O(n \log{n})</math> time complexity, but deteriorates to <math>O(n^2)</math> when it is given input that triggers suboptimal behavior. The term is often used pejoratively, as a way of dismissing such inputs as being specially designed to break a routine that is otherwise sound in practice (compare with ''[[Byzantine failure|Byzantine]]''). On the other hand, awareness of pathological inputs is important, as they can be exploited to mount a [[denial-of-service attack]] on a computer system. Also, the term in this sense is a matter of subjective judgment as with its other senses. Given enough run time, a sufficiently large and diverse user community (or other factors), an input which may be dismissed as pathological could in fact occur (as seen in the [[Ariane 5 Flight 501|first test flight]] of the [[Ariane 5]]).
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)