This file contains 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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <math.h> | |
#include <time.h> | |
#include "glcm.h" | |
#define MAX 1025*1025 | |
void exec() |
This file contains 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 <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#include "rede.h" | |
#include "glcm.h" | |
int main(int argc, char* argv[]) | |
{ | |
// gera os 50 numeros das imagens, onde os 25 primeiros sao pro treinamento e os ultimos pro teste. | |
int* nums = gerarNumerosAleatorio(); |
This file contains 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
typedef struct neuronio | |
{ | |
double* p; // conjunto de entradas deste neuronio | |
double* w; // conjunto de pesos deste neuronio | |
double b; // bias deste neuronio | |
double s; // saida deste neuronio | |
int p_length; // quantidade de entradas | |
} Neuronio; | |
typedef struct camada | |
{ |
This file contains 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 <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
#include "rede.h" | |
#define QT_ENTRADA 536 | |
Rede* rede; | |
/** |
This file contains 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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
struct Dados | |
{ | |
char nome[101], telefone[100], endereco[101], cep[100], nascimento[100]; | |
}; | |
struct No | |
{ |
This file contains 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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
struct registro | |
{ | |
char nome[101], | |
telefone[11], | |
endereco[101], | |
cep[9], |
This file contains 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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
struct registro | |
{ | |
char nome[101], | |
telefone[11], | |
endereco[101], | |
cep[9], |
This file contains 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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
struct registro | |
{ | |
char nome[101], | |
telefone[11], | |
endereco[101], |
This file contains 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 <stdio.h> | |
#include <stdlib.h> | |
void criarRegistro(FILE *arq) | |
{ | |
arq = fopen("dados.txt", "a"); | |
if (arq == NULL) | |
{ | |
printf("Deu ruim\n"); | |
return; |
This file contains 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
package br.unb; | |
import java.util.ArrayList; | |
import java.util.Collections; | |
/** | |
* @author gabronsio | |
*/ | |
public class Gabs | |
{ |