⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 header.cc

📁 贝叶斯优化算法是一种新的演化算法
💻 CC
字号:
// ################################################################################
//
// name:          header.cc      
//
// author:        Martin Pelikan
//
// purpose:       prints out the header saying the name of the product, its author,
//                the date of its release, and the file with input parameters (if 
//                any)
//
// last modified: February 1999
//
// ################################################################################

#include <stdio.h>

#include "header.h"
#include "startUp.h"

// ================================================================================
//
// name:          printTheHeader
//
// function:      prints out the product name, its author, its version, and the
//                date of its realease
//
// parameters:    out..........output stream
//
// returns:       (int) 0
//
// ================================================================================

int printTheHeader(FILE *out)
{
  // is output stream non-null?

  if (out==NULL)
    return 0;

  // print the header to the output file

  fprintf(out,"\n===============================================\n");
  fprintf(out," Simple Bayesian Optimization Algorithm in C++\n");
  fprintf(out," Version 1.0 (Released in March 1999)\n");
  fprintf(out," Copyright (c) 1999 Martin Pelikan\n");
  fprintf(out," Author: Martin Pelikan\n");
  fprintf(out,"-----------------------------------------------\n");
  fprintf(out," Parameter values from: %s\n",(getParamFilename())? getParamFilename():"(default)");
  fprintf(out,"===============================================\n");
  fprintf(out,"\n");

  // get back

  return 0;
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -