2017/07

    Nested Type 설계 시 주의할 점

    ✓ DO use nested types when the relationship between the nested type and its outer type is such that member-accessibility semantics are desirable. X DO NOT use public nested types as a logical grouping construct; use namespaces for this. X AVOID publicly exposed nested types. The only exception to this is if variables of the nested type need to be declared only in rare scenarios such as subclassi..

    [Review] 처음 배우는 인공지능

    [Review] 처음 배우는 인공지능

    처음 배우는 인공지능다다 사토시 저 | 송교석 옮김한빛미디어 Chapter 1 인공지능의 과거, 현재, 미래__01 인공지능이란__02 인공지능의 여명기__03 인공지능의 발전 흐름 Chapter 2 규칙 기반 모델의 발전__01 규칙 기반 모델__02 지식 기반 모델__03 전문가 시스템__04 추천 엔진 Chapter 3 오토마톤과 인공 생명 프로그램__01 인공 생명 시뮬레이션__02 유한 오토마톤__03 마르코프 모델__04 상태 기반 에이전트 Chapter 4 가중치와 최적해 탐색__01 선형 문제와 비선형 문제__02 회귀분석__03 가중 회귀분석__04 유사도__05 텐서플로를 이용한 선형 회귀 예제 Chapter 5 가중치와 최적화 프로그램__01 그래프 이론__02 그래프 탐색과 최적화_..

    Geometry

    /** * @file geometru.c * @date 17.07.2017 * @author linuxias * @brief This code is for geometric API. */ typedef struct Point {int x;int y;} Point; int ccw(Point p, Point q){return p.x * q.y - q.x * p.y;} int ccw_with_point(Point r, Point p, Point q){Point rp = {p.x - r.x, p.y - r.y};Point rq = {q.x - r.x, q.y - r.y}; return ccw(rp, rq);} int is_left_turn(Point r, Point p, Point q){return ccw_wi..

    [SQLite] SQLITE_STATIC 과 SQLITE_TRANSIENT

    1. SQLITE_STATIC - static, 즉 free 또는 변경되지 않는 변수에 사용 2. SQLITE_TRANSIENT - free 되거나 변경될 소지가 있는 변수에 사용 SQLite 원문(http://sqlite.org/c3ref/c_static.html) Constants Defining Special Destructor Behavior typedef void (*sqlite3_destructor_type)(void*);#define SQLITE_STATIC ((sqlite3_destructor_type)0)#define SQLITE_TRANSIENT ((sqlite3_destructor_type)-1)These are special values for the destructor that i..