6 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello, I'm new to Unix and need help answering these questions if possible, thanks.
---------------------------------------------------------------------------------------
In a shell script, which command could be place at the end of a command line to combine stderr and stdout into the stdout... (1 Reply)
Discussion started by: julianpeters
1 Replies
2. AIX
hi,
when I do a failover, hacmp always starts db2 but recently it fails to start db2..noticed the issue is db2nodes.cfg is not modified by hacmp and is still showing primary node..manually changed the node name to secondary after which db2 started immediately..unable to figure out why hacmp is... (4 Replies)
Discussion started by: gkr747
4 Replies
3. Shell Programming and Scripting
How come every post in this forum is a request for help?
How about some fun?
What does the following command do?
nawk -F'+' '
{i=NF;for(;i;i--)if($i)w++}
END{
for(k in w){c=w;x=xk",";if(c>m)m=c}
for(;m;m--)if(m in x)print m,x
}
' <(man nawk) (2 Replies)
Discussion started by: colemar
2 Replies
4. Programming
Hey check this out..it's only a 10 question quiz..but it's brain storming.
http://mulogic.phpnet.us/drupal
I scored 7/10 (3 Replies)
Discussion started by: luv2beuniq
3 Replies
5. UNIX for Dummies Questions & Answers
I have these questions for my unix class that I can't figure out because I missed a couple of days. They are for a quiz we took last week so by answering the questions you are not bettering my grade or doing my homework. I just want to understand was the answers. My teacher is really bad at... (1 Reply)
Discussion started by: djeung
1 Replies
6. UNIX for Dummies Questions & Answers
Dear guys ,
I have Sun mail server ( unix 5.7 ) , I configured the sendmail on it , and it is working fine .
i was checking ( smtp and pop ) on it .
for smtp , i telnet IP address of server on port 25 and i got a reply .
for pop , i telnet IP of server on port 110 and i got the follwoing... (3 Replies)
Discussion started by: tamemi
3 Replies
LEARN ABOUT DEBIAN
pgaevaluate
PGAEvaluate(1) PGAPack PGAEvaluate(1)
NAME
PGAEvaluate - Calls a user-specified function to return an evaluation of each string in the population.
DESCRIPTION
The user-specified function is only called if the string has been changed (e.g., by crossover or mutation) or the user has explicitly sig-
naled the string's evaluation is out-of-date by a call to PGASetEvaluationUpToDateFlag().
INPUT PARAMETERS
ctx - context variable
pop - symbolic constant of the population to be evaluated
f - a pointer to a function to evaluate a string. This function will be called once for each string in population pop that requires
evaluation. This function must return a double (the evaluation function value) and must fit the prototype double f(PGAContext *c,
int p, int pop);
comm - an MPI communicator
OUTPUT PARAMETERS
none
SYNOPSIS
#include "pgapack.h"
void PGAEvaluate(ctx, pop, , comm)
PGAContext *ctx
int pop
double (*f)(PGAContext *, int, int)
MPI_Comm comm
LOCATION
parallel.c
EXAMPLE
Example:
Evaluate all strings in population PGA_NEWPOP using the user-defined
evaluation function Energy.
double Energy(PGAContext *ctx, int p, int pop) {
:
};
PGAContext *ctx;
:
PGAEvaluate(ctx, PGA_NEWPOP, Energy, MPI_COMM_WORLD);
05/01/95 PGAEvaluate(1)