// File: /workspace/github_c_makefile_star2_O1/olcaytaner[P]Isell/dataset.c
// Function: display_dataset_properties
void display_dataset_properties(char *dataset_name)
{
 /*!Last Changed 06.01.2007*/
 /*!Last Changed 28.12.2005 added database properties*/
 /*!Last Changed 10.03.2004 Extended to regression*/
 int i,j;
 char pst[READLINELENGTH];
 Datasetptr dataset;
 dataset = search_dataset(Datasets, dataset_name);
 if (dataset)
  {
   fprintf(output,"----------DATASET PROPERTIES----------\n");
   fprintf(output,"NAME        : %s\n",dataset->name);
   fprintf(output,"FEATURES    : %d\n",dataset->featurecount);
   for (i=0;i<dataset->featurecount;i++)
     switch (dataset->features[i].type){
       case INTEGER :fprintf(output,"FEATURE #%d : INTEGER, MINVALUE:%d, MAXVALUE:%d\n",i+1,dataset->features[i].min.intvalue,dataset->features[i].max.intvalue);
                     break;
       case REAL    :fprintf(output,"FEATURE #%d : REAL, MINVALUE:%f, MAXVALUE:%f\n",i+1,dataset->features[i].min.floatvalue,dataset->features[i].max.floatvalue);
                     break;
       case STRING  :fprintf(output,"FEATURE #%d : STRING,",i+1);
                     for (j=0;j<dataset->features[i].valuecount;j++)
                       fprintf(output,"VALUE%d:%s ",j+1,dataset->features[i].strings[j]);
                     fprintf(output,"\n");
                     break;
       case REGDEF  :fprintf(output,"FEATURE #%d : REGRESSION DEFINITION\n",i+1);
                     break;
       case CLASSDEF:fprintf(output,"FEATURE #%d : CLASS DEFINITION\n",i+1);
                     break;
       default      :printf(m1238, dataset->features[i].type);
                     break;
     }
   fprintf(output, "CLASS NUMBER: %d\n", dataset->classno);
   for (i = 0; i < dataset->classno; i++)
     fprintf(output,"CLASS #%d   : %s\n",i + 1, dataset->classes[i]);
   if (in_list(dataset->storetype, 3, STORE_TEXT, STORE_SEQUENTIAL, STORE_KERNEL))
    {
     fprintf(output,"DIRECTORY   : %s\n", dataset->directory);
     fprintf(output,"FILE        : %s\n", dataset->file);
    }
   else
    {
     fprintf(output,"DSN         : %s\n", dataset->dsnname);
     fprintf(output,"TABLE NAME  : %s\n", dataset->tablename);
    }
   fprintf(output,"DATA COUNT  : %d\n", dataset->datacount);
   for (i = 0;i < dataset->classno; i++)
     fprintf(output,"CLASS #%d COUNT: %d\n", i + 1, dataset->classcounts[i]);
   fprintf(output, "CLASSDEFNO: %d\n", dataset->classdefno);
   set_precision(pst, "SIGMA :", "\n");
   fprintf(output, pst, dataset->sigma);
  }
 else
   fprintf(output,"Dataset %s in not in the definition file\n",dataset_name);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x7a138, %rsp          # imm = 0x7A138
movq %rdi, %rbx
leaq 0xb961c(%rip), %rax     # 0xd2878
movq (%rax), %r15
testq %r15, %r15
je 0x1927d
movq 0x8(%r15), %rdi
movq %rbx, %rsi
callq 0x4260
testl %eax, %eax
je 0x19280
movq 0x1407270(%r15), %r15
jmp 0x1925f
xorl %r15d, %r15d
leaq 0x395e21(%rip), %r14    # 0x3af0a8
movq (%r14), %rcx
testq %r15, %r15
je 0x195d7
leaq 0x8b0c0(%rip), %rdi     # 0xa435a
movl $0x27, %esi
movl $0x1, %edx
callq 0x42c0
movq (%r14), %rdi
movq 0x8(%r15), %rdx
leaq 0x8b0cb(%rip), %rsi     # 0xa4382
xorl %eax, %eax
callq 0x42e0
movq (%r14), %rdi
movl 0x1bc(%r15), %edx
leaq 0x8b0c5(%rip), %rsi     # 0xa4394
xorl %eax, %eax
callq 0x42e0
movq %r15, (%rsp)
cmpl $0x0, 0x1bc(%r15)
jle 0x19453
movq (%rsp), %rax
leaq 0x30f08(%rax), %r14
leaq 0x30f28(%rax), %rbx
leaq 0x8a227(%rip), %rbp     # 0xa3528
leaq 0x8b113(%rip), %r15     # 0xa441b
xorl %r13d, %r13d
movq %r14, 0x8(%rsp)
imulq $0x340, %r13, %r12      # imm = 0x340
movl (%r14,%r12), %esi
cmpq $0x4, %rsi
ja 0x19427
addq %r14, %r12
movslq (%rbp,%rsi,4), %rax
addq %rbp, %rax
jmpq *%rax
leaq 0x395d6f(%rip), %rax    # 0x3af0a8
movq (%rax), %rdi
movl 0x8(%r12), %ecx
movl 0x10(%r12), %r8d
leal 0x1(%r13), %edx
leaq 0x8b055(%rip), %rsi     # 0xa43a6
xorl %eax, %eax
callq 0x42e0
jmp 0x19435
leaq 0x395d44(%rip), %rax    # 0x3af0a8
movq (%rax), %rdi
leal 0x1(%r13), %edx
leaq 0x8b0b5(%rip), %rsi     # 0xa4427
jmp 0x193b8
leaq 0x395d2d(%rip), %rax    # 0x3af0a8
movq (%rax), %rdi
movsd 0x8(%r12), %xmm0
movsd 0x10(%r12), %xmm1
leal 0x1(%r13), %edx
leaq 0x8b040(%rip), %rsi     # 0xa43d7
movb $0x2, %al
callq 0x42e0
jmp 0x19435
leaq 0x395cfe(%rip), %rax    # 0x3af0a8
movq (%rax), %rdi
leal 0x1(%r13), %edx
leaq 0x8b094(%rip), %rsi     # 0xa444c
xorl %eax, %eax
callq 0x42e0
jmp 0x19435
leaq 0x395ce0(%rip), %rbp    # 0x3af0a8
movq (%rbp), %rdi
leal 0x1(%r13), %edx
leaq 0x8b02e(%rip), %rsi     # 0xa4405
xorl %eax, %eax
callq 0x42e0
cmpl $0x0, 0x18(%r12)
jle 0x1940b
xorl %r14d, %r14d
movq (%rbp), %rdi
movq (%rbx,%r14,8), %rcx
incq %r14
movq %r15, %rsi
movl %r14d, %edx
xorl %eax, %eax
callq 0x42e0
movslq 0x18(%r12), %rax
cmpq %rax, %r14
jl 0x193e9
movq (%rbp), %rsi
movl $0xa, %edi
callq 0x4150
movq 0x8(%rsp), %r14
leaq 0x8a103(%rip), %rbp     # 0xa3528
jmp 0x19435
leaq 0x89f40(%rip), %rdi     # 0xa336e
xorl %eax, %eax
callq 0x4030
incq %r13
movq (%rsp), %rax
movslq 0x1bc(%rax), %rax
addq $0x340, %rbx            # imm = 0x340
cmpq %rax, %r13
jl 0x19310
leaq 0x395c4e(%rip), %r12    # 0x3af0a8
movq (%r12), %rdi
movq (%rsp), %r15
movl 0x10(%r15), %edx
leaq 0x8afff(%rip), %rsi     # 0xa446c
xorl %eax, %eax
callq 0x42e0
cmpl $0x0, 0x10(%r15)
jle 0x194a7
leaq 0x8affc(%rip), %rbx     # 0xa447e
xorl %r14d, %r14d
movq (%r12), %rdi
movq 0x18(%r15,%r14,8), %rcx
incq %r14
movq %rbx, %rsi
movl %r14d, %edx
xorl %eax, %eax
callq 0x42e0
movslq 0x10(%r15), %rax
cmpq %rax, %r14
jl 0x19485
movl 0x140713c(%r15), %edi
movl $0x3, %esi
xorl %edx, %edx
movl $0x2, %ecx
movl $0x3, %r8d
xorl %eax, %eax
callq 0x39a80
leaq 0x1b0(%r15), %r14
leaq 0x1407110(%r15), %rcx
xorl %edx, %edx
testl %eax, %eax
setne %dl
movq (%r12), %rdi
leaq 0x8afcd(%rip), %rax     # 0xa44b4
leaq 0x8afa2(%rip), %rsi     # 0xa4490
cmoveq %rax, %rsi
leaq 0x8afcd(%rip), %rax     # 0xa44c6
leaq 0x8afa2(%rip), %rbx     # 0xa44a2
cmoveq %rax, %rbx
cmoveq %rcx, %r14
shll $0x4, %edx
movq 0x1407108(%r15,%rdx), %rdx
xorl %eax, %eax
callq 0x42e0
movq (%r12), %rdi
movq (%r14), %rdx
movq %rbx, %rsi
xorl %eax, %eax
callq 0x42e0
movq (%r12), %rdi
movl 0x1407120(%r15), %edx
leaq 0x8af9b(%rip), %rsi     # 0xa44d8
xorl %eax, %eax
callq 0x42e0
cmpl $0x0, 0x10(%r15)
jle 0x1957a
leaq 0x8af98(%rip), %rbx     # 0xa44ea
xorl %r14d, %r14d
movq (%r12), %rdi
movl 0x1407140(%r15,%r14,4), %ecx
incq %r14
movq %rbx, %rsi
movl %r14d, %edx
xorl %eax, %eax
callq 0x42e0
movslq 0x10(%r15), %rax
cmpq %rax, %r14
jl 0x19555
movq (%r12), %rdi
movl 0x1407128(%r15), %edx
leaq 0x8af73(%rip), %rsi     # 0xa44ff
xorl %eax, %eax
callq 0x42e0
leaq 0x8af75(%rip), %rsi     # 0xa450f
leaq 0x8cbca(%rip), %rdx     # 0xa616b
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0x39529
movq (%r12), %rdi
movsd 0x1407130(%r15), %xmm0
movq %rbx, %rsi
movb $0x1, %al
callq 0x42e0
addq $0x7a138, %rsp          # imm = 0x7A138
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x8af39(%rip), %rsi     # 0xa4517
movq %rcx, %rdi
movq %rbx, %rdx
xorl %eax, %eax
addq $0x7a138, %rsp          # imm = 0x7A138
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x42e0