Template:Infobox Algorithm: Difference between revisions

From Rice Wiki
(Created page with "<infobox layout="stacked"> <title source="title"> <default>{{PAGENAME}}</default> </title> <data source="runtime"> <label>Runtime</label> <default>O(n)</default> </data> <data source="space"> <label>Space</label> <default>O(n)</default> </data> <data source="class"> <label>Class</label> </data> </infobox> Category:Algorithms")
 
No edit summary
Line 15: Line 15:
   </data>
   </data>
</infobox>
</infobox>
<templatedata>
{
    "description": "Infobox for computer algorithms",
    "params": {
        "title": {
            "label": "Name of the algorithm appearing above the box"
        },
        "runtime": {
            "label": "Runtime complexity of the algorithm"
        },
        "space": {
            "label": "Space complexity of the algorithm"
        },
        "class": {
            "label": "Classification of the algorithm (such as Dynamic Programming or Graph Algorithms)"
        }
    }
}
</templatedata>




[[Category:Algorithms]]
[[Category:Algorithms]]

Revision as of 23:22, 5 March 2024

Infobox for computer algorithms

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Name of the algorithm appearing above the boxtitle

no description

Unknownoptional
Runtime complexity of the algorithmruntime

no description

Unknownoptional
Space complexity of the algorithmspace

no description

Unknownoptional
Classification of the algorithm (such as Dynamic Programming or Graph Algorithms)class

no description

Unknownoptional