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
var ETA = 1.0; | |
var ALPHA = 0.3; | |
var BETA = 0.1; | |
function Connection () { | |
this.weight = Math.random(); | |
this.deltaWeight = 0; | |
} | |
function Neuron (numOuputs, id) { |
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 <iostream> | |
#include <string> | |
#include <map> | |
#include <stack> | |
#include <vector> | |
#include <fstream> | |
class Script | |
{ | |
public: |
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
<?php | |
require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php"); | |
$USER->Authorize(1); | |
require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_after.php"); | |
?> |
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
void quicksort(int arr[], int left, int right) | |
{ | |
if (left < right) { | |
int pivot = arr[right]; | |
int i = left - 1; | |
for (int j = left; j <= right-1; j++) | |
{ | |
if (arr[j] <= pivot) | |
{ |
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 <iostream> | |
#include <fstream> | |
#include <string> | |
#include <GL\glew.h> | |
#include <SDL\SDL.h> | |
#ifdef main | |
#undef main | |
#endif // main |
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
sfml-graphics-s.lib | |
sfml-network-s.lib | |
sfml-window-s.lib | |
sfml-system-s.lib | |
sfml-audio-s.lib | |
opengl32.lib | |
openal32.lib | |
freetype.lib | |
winmm.lib | |
ws2_32.lib |
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
sql.query('TRUNCATE TABLE shipments').then(function(rows) { | |
sql.query('SELECT cc.* FROM containers_content cc INNER JOIN containers cn ON cc.container=cn.id ORDER BY date_departure ASC').then(function(rows) { | |
var containers_content = rows; | |
var requests = []; | |
var j = 0; | |
for (var i = 0; i < containers_content.length; i++) { | |
requests.push(function(callback) { |
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
predicates | |
nondeterm solve(real, real, real) | |
nondeterm reply(real, real, real) | |
nondeterm print_complex(real, real) | |
nondeterm run | |
nondeterm do(char) | |
clauses | |
solve(A,B,C):- | |
A=0 AND B=0 AND C<>0, |
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
DOMAINS | |
i = integer | |
PREDICATES | |
nondeterm count(i, i, i) | |
nondeterm counter(i, i, i, i) | |
nondeterm menu(i) | |
CLAUSES | |
count(M, S, B):- |
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
#pragma once | |
#include <typeindex> | |
#include <memory> | |
#include <string> | |
#include <map> | |
#include "Resource.h" | |
class AbstractFactory |
OlderNewer