- Relação de hierarquia ou de composição entre nós.
- Conjunto finito de um ou mais nós, tais que:
a) sempre existe um nó raiz;
b) os demais nós formam subárvores;
- Cada nó de uma árvore é também raíz de uma subárvore.
Uma cor, vermelho ou preto, ou é nó NIL (fictício/NULO ou sentinela).
Ponteiros para a subárvore esquerda e direita e para o nó que contém este nó.
# conding: utf-8 | |
""" | |
Código de minimização de autômatos finitos determinísticos incompletos ou completos | |
Autor: Thalles Medrado | |
21/01/2018 | |
""" | |
def ipt(): | |
return int(input()) |
{ | |
"clients": [ | |
{ | |
"id": "internalNoThrottledSource@MbusClient", | |
"class": "com.yahoo.messagebus.jdisc.MbusClient", | |
"bundle": "container-disc:7.0.0", | |
"serverBindings": [], | |
"clientBindings": [ | |
"mbus://*/internalNoThrottledSource" | |
] |
<?xml version="1.0" encoding="utf-8" ?> | |
<!-- Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. --> | |
<services version="1.0"> | |
<container id="default" version="1.0"> | |
<document-processing/> | |
<document-api/> | |
<search> | |
<chain id="default" inherits="vespa"> | |
<searcher id="com.potelo.prelude.searcher.JuniperMapSearcher" bundle="basic-search-java"/> |
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. | |
package com.potelo.prelude.searcher; | |
import com.potelo.prelude.hitfield.HighlightRange; | |
import com.yahoo.component.chain.dependencies.After; | |
import com.yahoo.component.chain.dependencies.Before; | |
import com.yahoo.component.chain.dependencies.Provides; | |
import com.yahoo.prelude.Index; |
#!/bin/bash | |
SCRIPT_PATH="${BASH_SOURCE[0]#./}" | |
if [[ ! ${0#./} != $SCRIPT_PATH ]]; then | |
echo "You cannot run it directly. This file must be sourced *from bash*: source $SCRIPT_PATH PYTHON" | |
exit 1 | |
fi | |
if [[ $# -ne 1 ]]; then |
#!/bin/bash | |
SCRIPT_PATH="${BASH_SOURCE[0]#./}" | |
if [[ ! ${0#./} != $SCRIPT_PATH ]]; then | |
echo "You cannot run it directly. This file must be sourced *from bash*: source $SCRIPT_PATH PYTHON" | |
exit 1 | |
fi | |
PROJECT_PATH="$(cd "$(dirname "$SCRIPT_PATH")"/.. && pwd)" |