This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Nodo: | |
| valor = None | |
| l = None | |
| r = None | |
| def __init__(self, valor): | |
| self.valor = valor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import math | |
| class Nodo: | |
| valor = None | |
| p = None | |
| l = None | |
| r = None | |
| def __init__(self, valor): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| import math | |
| class Node: | |
| def __init__(self, value): | |
| self.value = value # Carga del node | |
| self.pl = 0 # Profundidad izquierda |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| import math | |
| import sys | |
| class Node(): # Nodo principal | |
| def __init__(self, value): | |
| self.value = value # Contenio del nodo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| import sys | |
| import pickle | |
| class Nodo: | |
| def __init__(self): # Nodo principal | |
| self.peso = -1 # Peso del simbolo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import cherrypy | |
| import json | |
| class HelloWorld(object): | |
| @cherrypy.expose | |
| def index(self, data): | |
| size = len(data) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <EtherCard.h> | |
| static byte mymac[] = { 0x74,0x69,0x69,0x2D,0x30,0x31 }; // Mac de la tarjeta ether... Debe ser unico en la red local | |
| const static uint8_t ip[] = {10,14,0,56}; // Ip de la tarjeta | |
| const static uint8_t gw[] = {10,14,0,1}; // Ip de la puerta de enlace | |
| const static uint8_t mask[] = {255,255,255,0}; // Mascara de la tarjea | |
| const static uint8_t dns[] = {10,14,0,1}; // Ip del servidor DNS, si existe | |
| const static uint8_t hisip[] = {10,14,0,104}; // Ip de la aplicacion remota | |
| const static int hisport = 8080; // Puerto de la aplicacion remota |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TARGETS: # Targets of the process | |
| KIC 8197761: # Target Star | |
| FILE: "./KIC8197761.csv" # Lightcurve source file | |
| ############# | |
| ### STAR INFO | |
| ############# | |
| STAR: | |
| MASS: 1.384 | |
| # MASS_LOWER_ERROR: 0.27 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TARGETS: | |
| KIC 4570326: | |
| FILE: "./KIC4570326.csv" | |
| ############## | |
| ### STAR INFO | |
| ############## | |
| STAR: | |
| MASS: 1.620 | |
| MASS_LOWER_ERROR: 0.2210000705719 | |
| MASS_UPPER_ERROR: 0.061999921798706 |