Title: Complexity
Author: Bjørn Kjos-Hanssen
Published: <strong>13 Tetor, 2013</strong>
Last modified: 13 Tetor, 2013

---

Kërkoni te shtojca

Kjo shtojcë **s’është testuar me 3 hedhjet e rëndësishme të fundit në qarkullim 
të WordPress-it**. Mund të mos e mirëmbajnë më, ose mundet të mos mbulohet më dhe
mund të ketë probleme përputhshmërie, kur përdoret me versione më të freskët të 
WordPress-it.

![](https://s.w.org/plugins/geopattern-icon/complexity.svg)

# Complexity

 Nga [Bjørn Kjos-Hanssen](https://profiles.wordpress.org/bjoern-kjos-hanssen/)

[Shkarkim](https://downloads.wordpress.org/plugin/complexity.0.1.zip)

 * [Hollësi](https://sq.wordpress.org/plugins/complexity/#description)
 * [Shqyrtime](https://sq.wordpress.org/plugins/complexity/#reviews)
 *  [Instalim](https://sq.wordpress.org/plugins/complexity/#installation)
 * [Zhvillim](https://sq.wordpress.org/plugins/complexity/#developers)

 [Asistencë](https://wordpress.org/support/plugin/complexity/)

## Përshkrim

This plugin provides a shortcode that calculates a specific mathematical function.
That function is known as the _nondeterministic automatic complexity_
 and was studied
in [Kayleigh Hyde’s Master thesis at University of Hawaii at Manoa in 2013](http://math.hawaii.edu/kkhyde).
An earlier deterministic version was studied by Shallit and Wang in 2001.

## Instalim

 1. Upload the directory `complexity` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place `[complexity string="0110"]` in any post and it will be replaced by `3`. 
    Similarly for any binary string of length at most 23.

## PBR

#### Why is there a length limit of 23?

As you may know, there are 16,777,216 binary strings of length 24. It takes time
to compute the complexity of all of these, and upload the results to the database.
In short, we had to stop somewhere and in the current version that somewhere is 
length 23.

#### Why would I install this plugin?

It is not very useful yet, but I will probably add additional functionality such
as shortcodes for drawing a diagram of a witnessing automaton for the complexity.
The plugin is useful for blogging about nondeterministic automatic complexity.

#### How does the plugin work?

First the complexity is computed in Python and saved to SQL files. These files are
then uploaded to a database. The complexity of a string like 0110 is then available
as JSON data from an [API link](http://math.hawaii.edu/~bjoern/complexity-api/?string=0110).
The plugin itself just uses a simple PHP script to retrieve that data.

## Shqyrtime

Për këtë shtojcë s’ka shqyrtime.

## Kontribues & Zhvillues

“Complexity” është software me burim të hapur. Në këtë shtojcë kanë dhënë ndihmesë
personat vijues.

Kontribues

 *   [ Bjørn Kjos-Hanssen ](https://profiles.wordpress.org/bjoern-kjos-hanssen/)

[Përkthejeni “Complexity” në gjuhën tuaj.](https://translate.wordpress.org/projects/wp-plugins/complexity)

### Ju intereson zhvillimi?

[Shfletoni kodin](https://plugins.trac.wordpress.org/browser/complexity/), shkarkoni
[depon SVN](https://plugins.svn.wordpress.org/complexity/), ose pajtohuni përmes
[RSS-je](https://plugins.trac.wordpress.org/log/complexity/?limit=100&mode=stop_on_copy&format=rss)
te [regjistri i zhvillimeve](https://plugins.trac.wordpress.org/log/complexity/).

## Regjistër ndryshimesh

#### 0.1

 * Very basic initial version providing only the [complexity string=”0110″] shortcode.

## Të tjera

 *  Version **0.1**
 *  Përditësuar së fundi më **13 vjet më parë**
 *  Instalime aktive **Më pak se 10**
 *  Version WordPress-i ** 3.5 ose më i madh **
 *  E provuar deri me **3.5.2**
 *  Gjuhë
 * [English (US)](https://wordpress.org/plugins/complexity/)
 * Etiketë
 * [math](https://sq.wordpress.org/plugins/tags/math/)
 *  [Pamje e Thelluar](https://sq.wordpress.org/plugins/complexity/advanced/)

## Vlerësime

S’është parashtruar ende ndonjë përshtypje.

[Your review](https://wordpress.org/support/plugin/complexity/reviews/#new-post)

[Shihni krejt shqyrtimet](https://wordpress.org/support/plugin/complexity/reviews/)

## Kontribues

 *   [ Bjørn Kjos-Hanssen ](https://profiles.wordpress.org/bjoern-kjos-hanssen/)

## Asistencë

Keni diçka për të thënë? Ju duhet ndihmë?

 [Shihni forum asistence](https://wordpress.org/support/plugin/complexity/)

## Dhuroni

Do të donit të përkrahnit shpënien më tej të kësaj shtojce?

 [ Dhuroni për këtë shtojcë ](http://math.hawaii.edu/wordpress/bjoern/)