Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
:shipit:

Alberto Romero beeetooo

💭
:shipit:
View GitHub Profile
View vimrc.txt
" vim-bootstrap b0a75e4
"*****************************************************************************
"" Vim-PLug core
"*****************************************************************************
"
let $PATH=$PATH
if has('vim_starting')
set nocompatible " Be iMproved
endif
View clase.py
from utils import initpob, mutacion, selecbest, cruzamiento
import numpy as np
import matplotlib.pyplot as plt
npob = 20
nbits = 10
xmin = 0
xmax = 1023
npadres = 10
View utils.py
# -*- coding: utf-8 -*-
"""
"""
import numpy as np;
import matplotlib.pyplot as plt;
#%%
# Definición de la función de inicialización
View february-challenge-input
[8, 5, -4, 1, 6, 7, 3, 2] [12, 15, -14, 11, -10, -9, -13]
[3, -5, 1, 4, -7, 8, 6, 2] [15, 12, -13, 11, -14, 10, -9]
[-7, 2, -3, 6, 1, -5, 4] [8, -13, 15, 10, -9, -14, -11, -12]
[1, 8, -4, 5, -2, 3, 6, 7] [10, -12, -9, 15, 11, -14, -13]
[6, 1, 3, 4, -7, -5, 2] [-9, -15, 11, 14, 10, 8, -13, 12]
[5, 1, -4, 3, 2, 7, -6] [15, -10, -9, -13, 11, 8, 12, 14]
[-1, -2, 5, 6, 4, 7, -3] [12, 8, -14, -11, -15, -10, -13, 9]
[-1, -5, 6, 7, -3, -4, 2] [-10, -12, -15, -14, 8, 11, -13, -9]
[-7, 8, -6, 2, -4, -5, -1, -3] [15, 9, 13, -11, 14, -12, 10]
[-3, 2, 8, -1, 5, 4, 6, 7] [10, 15, -12, 13, -14, -9, -11]